2 releases
Uses old Rust 2015
0.1.1 | Dec 4, 2017 |
---|---|
0.1.0 | Nov 29, 2017 |
#81 in #meta
16KB
168 lines
stdcli: the cli batteries for rust
This is a rust meta-library for including relevant libraries for cli applications. It's
main use case is to be used with cargo-script
.
It is in the same spirit as the stdx
but serves a
specific instead of general use case.
- cargo-script: this wouldnt be in
stdcli
, but is an important one to know! Quickly write and run cli scripts with crate caching. - structopt_derive: you already mentioned this one, it's great.
- tabwriter easy formatting of data into a table using
\t
character for alignment - self_update: auto update/upgrade the compiled binary
- ansi_term: colors in the terminal
- fern: easier logging for clis
- fs_extra: to remove some of your tiny functions
- ctrlc: easy handling of unix AND windows signals
- assert_cli
- indicatif
- dialoguer
- console
- loggerv: simple logger for logging with colors
- indoc
Licensing
The source code is Licensed under either of
- Apache License, Version 2.0, (LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0)
- MIT license (LICENSE-MIT or http://opensource.org/licenses/MIT)
at your option.
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.
Dependencies
~26–37MB
~694K SLoC