Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/Owez/argi
Argument parsing for the future 🚀
https://github.com/Owez/argi
argparse argument-parser arguments cli command-line rust
Last synced: 3 months ago
JSON representation
Argument parsing for the future 🚀
- Host: GitHub
- URL: https://github.com/Owez/argi
- Owner: Owez
- License: apache-2.0
- Created: 2021-09-17T18:45:12.000Z (about 3 years ago)
- Default Branch: master
- Last Pushed: 2022-02-17T11:01:16.000Z (over 2 years ago)
- Last Synced: 2024-06-12T08:12:56.410Z (5 months ago)
- Topics: argparse, argument-parser, arguments, cli, command-line, rust
- Language: Rust
- Homepage: https://crates.io/crates/argi
- Size: 165 KB
- Stars: 127
- Watchers: 2
- Forks: 1
- Open Issues: 9
-
Metadata Files:
- Readme: README.md
- License: LICENSE-APACHE
Awesome Lists containing this project
README
# argi
Argument parsing for the future 🚀
## Features
- Intuative macro approach
- Speedy compile times
- Zero dependencies, tiny binary bloat
- Rich auto-help generation with modern styling## Quickstart
First, add this to your `Cargo.toml` file:
```toml
[dependencies]
argi = "0.1.0-beta.5"
```And then you can create a simple application:
```rust
// TODO
```When ran, you should see the following help message:
```none
TODO
```You can find this and many more demo projects inside of the useful [`examples/`](https://github.com/Owez/argi/tree/master/examples) directory!
## Comparisons
The below sections contain comparisons to similar, competing libraries. Please note that we try to be as unbiased as possible but there is sadly a natural COI here.
- Versus `clap`
TODO
- Versus `argh`TODO
## Licensing
This project is dual-licensed under both the [MIT](https://github.com/Owez/argi/blob/master/LICENSE-MIT) and [Apache](https://github.com/Owez/argi/blob/master/LICENSE-APACHE), so feel free to use either at your discretion.