commandpost icon indicating copy to clipboard operation
commandpost copied to clipboard

Options get confused if the value is the same as a subcommand

Open jeromegn opened this issue 6 years ago • 1 comments

In the fly CLI, we have a command named test (like fly test).

We also have a "global" option to specify and environment -e, --env <value>.

The issue is if you do fly -e test other_command, commandpost thinks test is the command, not the value of the env option.

jeromegn avatar Jun 08 '18 16:06 jeromegn

sorry for very late response... I will find my leisure and fix it later. If you give me a fix pull request it is great 😉

vvakame avatar Aug 16 '18 06:08 vvakame