bloomberg / stricli

Build complex CLIs with type safety and no dependencies
https://bloomberg.github.io/stricli
Apache License 2.0
630 stars 7 forks source link

No flag registered for --command-type #10

Closed OwenVey closed 2 weeks ago

OwenVey commented 2 weeks ago

Describe the bug When running npx @stricli/create-app@latest --command-type single as shown here, I get an error stating the following:

No flag registered for --command-type

To Reproduce Steps to reproduce the behavior: Run npx @stricli/create-app@latest --command-type single

Expected behavior A single command app is properly generated.

Screenshots

Screenshot 2024-10-01 at 10 45 44 AM@2x

Environment (please complete the following information):

OwenVey commented 2 weeks ago

After running the help command, it looks like correct command to run should be

npx @stricli/create-app@latest --template single my-app
molisani commented 2 weeks ago

Ah sorry, that's a typo. It was renamed from --command-type to --template in the tool but not in the tutorial, will fix.