Skip to content
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

display help if snow is run without commands & no docker file is found #10

Open
sean-nicholas opened this issue Mar 8, 2019 · 2 comments

Comments

@sean-nicholas
Copy link

If you run snow without commands the deploy function is executed. If there is no Dockerfile you end up with an error message. Would be nice to get some hint how to use snow instead. What about using commander or something similar?

@petermikitsh
Copy link
Member

When I run the latest version of the secrets branch in a directory without a Dockerfile, this is the output I see:

$ snow
Error finding Dockerfile.
ENOENT: no such file or directory, open '/my/path/foobar/Dockerfile'

The command could certainly be clearer. A link to a new usage page, or the existing snow deploy documentation from the output would provide for a superior user experience.

@sean-nicholas
Copy link
Author

Yes, that is the error message I am talking about. Simple link to the docs would be great.

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

2 participants