Crates.io | docopticon |
lib.rs | docopticon |
version | 0.1.2 |
source | src |
created_at | 2024-01-13 19:21:38.584587 |
updated_at | 2024-01-15 19:47:59.901998 |
description | An argument-parser based on the obligatory help-text |
homepage | |
repository | https://git.sr.ht/~curious/docopticon |
max_upload_size | |
id | 1098762 |
size | 90,526 |
docopticon is yet-another argument parsing library for Rust, however, this one relies upon constructing the argument tree from the actual help text that every command-line program should have. This is instead of generating the help for every argument.
use docopticon;
???
profit
Stuff I need to write:
no_std
- only depends on libc
and Rust's core
library.XDG-dirs
compliant saving/loading of configuration, state and data files.docopt is a standard that is vaguely defined by the docopt team behind the initial Python library. This library attempts to be more rigorous in the definition of the core protocol but still allowing for some flexibility when it comes to how you write your Usage: text.
const
string magic I lifted into this library