Skip to content

How can I collect all inputs(args) except subcommand? #5589

Answered by epage
rvnkcode asked this question in Q&A
Discussion options

You must be logged in to vote

globals are not merged between invocations at this time. There would be issues with knowing the user and programmers intent and responding the right way. I wonder if we should conflict in this case...

You can workaroudn this by not using global but instead specifying input in each subcommand and merging them yourself.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by rvnkcode
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants