Argot CLI
Argot CLI is a lightweight command-line argument parser for Rust, bundled with a command-line utility for working with Argot configurations.
The project provides:
- a Rust library for building CLI parsers
- a CLI executable named
argot - a small macro-based configuration DSL
- serde support, with JSON and TOML configuration formats
Installation
Install the CLI
This installs the executable:
Use as a Rust library
Or add directly to your Cargo.toml:
[]
= "0.1"
Quick Example (Library)
use entries;
let config = entries! ;
This produces a ParserConfig used by the parser.
Status
Early development. APIs may change.