minparse
A minimal argument parser
Install
Add this to your Cargo.toml
:
[]
= "0.1.2"
Usage
use minparse;
process_name;
// => Get process name <String>
switches;
// => Get options that do not require a value (e.g --help) Vec<String>
subcommands;
// => Subcommands (do not have prefixed `--`. Includes process name) Vec<String> example: vec!["cargo", "run"]
fields
// => Fields with a value (e.g. --port 8080) HashMap<String, String>
Donate
# Wallets to which you can donate :)
= "3NC14JNuzdLkxJTdNa6bnFXaYzMKMc1Uwt"
= "0xc41c0f847d58121f552c683e454ddafeb415f25e"
= "875smxvwbP64MFZnHrHwHcGahoEB4a5ARGCBidr95LqL4GEPiB4T8J74UB5TzrXK3wbTZ1iidfYoV37KZq1vqWCQSNztDAF"