Say I have my app with nested subcommands
In order to check that I have run app sub1 sub2 --someflag I've been using.
if parser.Command.Active.Name // sub1 {
if { parser.Command.Active.Active.Name // sub2 {
// do something
}
}
Is that the best way?
I couldn't find anything else in the docs.
Say I have my app with nested subcommands
In order to check that I have run
app sub1 sub2 --someflagI've been using.Is that the best way?
I couldn't find anything else in the docs.