argh
Rust derive-based argument parsing optimized for code size
File Explorer
Download Latest Version (.zip)- publish.yml
- rust.yml
- completion_example.rs
- goup.rs
- simple_example.rs
- lib.rs
- bad-long-names.rs
- bad-long-names.stderr
- positional-and-greedy.rs
- positional-and-greedy.stderr
- duplicate-long-name.rs
- duplicate-long-name.stderr
- duplicate-short-name.rs
- duplicate-short-name.stderr
- args_info_tests.rs
- compiletest.rs
- lib.rs
- short_alias.rs
- subcommand_short_help.rs
- Cargo.toml
- LICENSE
- README.md
- bash.rs
- fish.rs
- lib.rs
- nushell.rs
- tests.rs
- zsh.rs
- Cargo.toml
- LICENSE
- README.md
- args_info.rs
- errors.rs
- help.rs
- lib.rs
- parse_attrs.rs
- Cargo.toml
- LICENSE
- README.md
- lib.rs
- Cargo.toml
- LICENSE
- README.md
- .gitignore
- Cargo.toml
- code-of-conduct.md
- CONTRIBUTING.md
- LICENSE
- README.md
- rustfmt.toml
π Installation Guide
1. Get the code
git clone https://github.com/google/argh
Downloads the entire project code from GitHub to your computer.
cd argh
Moves into the project folder you just downloaded.
2. Rust
Medium RecommendedPrerequisites
- Git Needed to download the project code from GitHub.
- Rust (rustup) Installing via rustup also installs cargo.
cargo build --release
Compiles the Rust project.
cargo run
Builds and then immediately runs the program.
If cargo build finishes without errors, it worked. The executable is created under target/.
// repository documentation
Was this content helpful?
(0 ratings)
