cli icon indicating copy to clipboard operation
cli copied to clipboard

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

Open sean-nicholas opened this issue 6 years ago • 2 comments

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?

sean-nicholas avatar Mar 08 '19 11:03 sean-nicholas

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.

petermikitsh avatar Mar 12 '19 01:03 petermikitsh

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

sean-nicholas avatar Mar 15 '19 09:03 sean-nicholas