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.
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/294But actually we don't need to use that in our use cases so removed the extra IsSet checks.