ernoaapa / eliot

Open source system for managing containerized applications in IoT device
https://docs.eliot.run
Apache License 2.0
269 stars 20 forks source link

Fix shorthand flags not get recognised #7

Closed ernoaapa closed 6 years ago

ernoaapa commented 6 years ago

Command eli create -f somefile.yml, returned error that must define either --file or --image. This because the clicontext.IsSet() were returning false if using shorthand aliases. There is fix coming in urfave/cli v2.0: https://github.com/urfave/cli/issues/294

But actually we don't need to use that in our use cases so removed the extra IsSet checks.