argh icon indicating copy to clipboard operation
argh copied to clipboard

[Optimisation] Stop re-parsing of commands for default sub commands

Open qhua948 opened this issue 2 years ago • 0 comments

in https://github.com/google/argh/pull/129, the implementation would re-parse the command by forwarding the entire args into the optional subcommand if exists.

Optimise the code so that a single pass would process the entire chain.

qhua948 avatar Jun 14 '22 00:06 qhua948