Skip to content

Multiple "command" invocations in a single execution #851

Closed Answered by dereksz
dereksz asked this question in Questions
Discussion options

You must be logged in to vote

For the example I initially gave, this can be addressed with simple command "chaining", and is available in typer and click. However if in and out are both groups with nested commands, then chaining doesn't seem to work, as the "chain" wants to be at the nested level, and doesn't have a way to "pop out" back to the top-level. AND, I think that all of these are issues at the click level, rather than typer, so closing this out as a typer discussion for now. (Indeed, in click, a group-within-a-group generates an exception saying it's not supported.)

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by dereksz
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Question or problem
1 participant