1 unstable release
0.1.1 | Jul 11, 2024 |
---|
#523 in Command-line interface
61 downloads per month
34KB
419 lines
cata
cata(lyst) for building rust based CLIs
lib.rs
:
cata(lyst) for building complex CLI tools.
This crate provides a collection of utilities that make it easier to build CLI tools.
command
: recursively traverse a tree of clap commands and subcommands calling lifecycle hooks at each level.- [
mod@file
]: deriveclap::value_parser
for deserializing values from files. Detects the file format from the extension and currently supports JSON in addition to YAML. output
: structured output for commands. Users can choose the output format they would like, currently supporting JSON, YAML and pretty.\telemetry
: a simple way to track activity and errors for your CLI.
Dependencies
~20–33MB
~610K SLoC