1 unstable release
0.1.1 | Jul 11, 2024 |
---|
#1070 in Command-line interface
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
~22–35MB
~620K SLoC