redhat-developer / henge

This project has merged into Kompose.
https://github.com/skippbox/kompose
MIT License
14 stars 7 forks source link

provider should be verified before proceeding #43

Closed concaf closed 8 years ago

concaf commented 8 years ago

Running this:

[vagrant@compose ~]$ henge xyz
file "docker-compose.yml" not found

This should return some output like, unknown provider: xyz or unknown argument: xyz and not look for a docker-compose.yml file.

surajssd commented 8 years ago

Even if right provider is given this error still persists

$ ll
total 40448
-rwxrwxr-x. 1 vagrant vagrant 41416456 Jul  7 11:10 henge

$ ./henge openshift
file "docker-compose.yml" not found
concaf commented 8 years ago

Right, I am proposing similar behavior as argparse in python, which throws an error if it does not recognize a positional/optional argument.