cli icon indicating copy to clipboard operation
cli copied to clipboard

Too long names are not reported

Open MeneDev opened this issue 2 years ago • 0 comments

Describe the bug

When creating a new site and providing a name via parameter, too long names are ignored, but should be reported instead.

Steps to reproduce

netlify sites:create --account-slug myslug --name aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa

Starts the interactive site creation dialog (max seems to be 63 chars)

Configuration

No response

Environment

  System:
    OS: macOS 12.1
    CPU: (12) x64 Intel(R) Core(TM) i7-9750H CPU @ 2.60GHz
    Memory: 4.34 GB / 32.00 GB
    Shell: 5.8 - /bin/zsh
  Binaries:
    Node: 17.5.0 - ~/.asdf/installs/nodejs/17.5.0/bin/node
    Yarn: 1.22.17 - /usr/local/bin/yarn
    npm: 8.4.1 - ~/.asdf/plugins/nodejs/shims/npm
  npmGlobalPackages:
    netlify-cli: 9.16.0

MeneDev avatar Apr 01 '22 17:04 MeneDev