Closed asynts closed 1 year ago
This is because currently the parser expects the positional arguments to be passed before any flags (i.e cmd POS_ARGS OPTIONS
) and any argument that is passed after the options will be parsed as a either options value or subcommand therefore to fix this issue the implementation of parser need to be changed to support passing positional arguments in both way (before options and after options).
@asynts This is now patched and closing this issue as completed. Thank you for opening this issue :)
I've tried it and it works now. Thank you.
It seems that the parser is confused if it encounters a boolean flag before the positional argument: