Skip to content

Conversation

@katyukha
Copy link
Contributor

With this change it is possible to access unparsed (rest) arguments via ProgramArgs instance.
This is needed, because in case of complex programs, the code that handles one of subcommands usualy does not have access to the original args array, thus it is good idea to store unparsed arguments on ProgramArgs instance.

This is usefule in cases, when we have program that has subcommand that has some options and have to pass unparsed arguments to some other program directly (for example if we build some kind of wrapper for some other program)

@robik
Copy link
Owner

robik commented Feb 17, 2024

Thank you for this contribution! It is looking great, I'm merging this and putting a new release

@robik robik merged commit 08708fe into robik:master Feb 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants