Closed WesleyDavid closed 4 years ago
Oh, that's suboptimal.
Our CLI options could use some love. The whole app creation process was thrown together pretty quickly so it's all kinds of warty. If you feel like tackling this you should! :D
Thanks @WesleyDavid, this captures what I saw. The other thing I figured is that without the [name]
it actually gives the message about the --template
so I guess something is getting confused here. :)
I'd be happy to see if I can do a PR for you, but don't let me stop you going ahead since it'll be in my spare time.
When creating a new Edge App in the UI, we offer a suggestion at their brand new edgeapp.net URL on how the customer can then use the
fly
CLI to start developing the new app. A customer was tripped up by this:...because when trying that, you get asked to select a template:
Furthermore,
fly new --help
tells customers that a new app without a template selected will default togetting-started
:Except it doesn't. Looks like this might be the area where the decision making should be altered: https://github.com/superfly/fly/blob/master/packages/core/src/cmd/new.ts#L24