Skip to content

The scaf CLI should handle command line arguments such as --help #469

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
3 tasks
hillairet opened this issue Mar 5, 2025 · 0 comments
Open
3 tasks

The scaf CLI should handle command line arguments such as --help #469

hillairet opened this issue Mar 5, 2025 · 0 comments

Comments

@hillairet
Copy link
Member

🐛 Describe the bug

I didn't know how to get started so I ran scaf --help and it got me started on setting up the project. I didn't realize that it started creating my project with the name "--help".
That led to issues later on when it ran docker run --help instead of docker run myproject

💭 Expected Behavior

  • scaf --help should return something useful. Same as Scaf should include a --help command line argument #323
  • The scaf command line should handle any other command line argument and either stop and complain or ignore them explicitly with the message "Command line argument -g ignored"

🔁 Steps To Reproduce

  1. Run scaf --help

Renaming the project name and the project slug doesn't override the --help name for the project

🌎 Environments

  • Sandbox
  • Staging
  • Production

📝 Additional context

No response

📜 Relevant log output

📸 Screenshots

Image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant