google / google/argh

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

Open
#130 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Rust
Stars
2k
Forks
102
PR merge metrics
No merged PRs in 30d

Description

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.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.