3 unstable releases

0.2.1 Jan 18, 2022
0.2.0 Jan 17, 2022
0.1.0 Jan 17, 2022

#716 in Command-line interface


Used in aws-login

ISC license

51KB
727 lines

CarLI

A library for rapid command line tool development.

CarLI is a framework for creating single-command and multi-command CLI applications in Rust. The framework provides error and IO types better suited for the command line environment, especially in cases where unit testing is needed. Opinionated traits are also provided to enforce a consistent way of structuring the application and its subcommands.

See command::Main for a complete example.

Requirements

  • Rust 1.57+

Examples

Documentation

Please see docs.rs.


lib.rs:

A library for rapid command line tool development.

CarLI is a framework for creating single-command and multi-command CLI applications in Rust. The framework provides error and IO types better suited for the command line environment, especially in cases where unit testing is needed. Opinionated traits are also provided to enforce a consistent way of structuring the application and its subcommands.

See command::Main for a complete example.

No runtime deps