cli-toolbox

Utility library for working with cli output ergonomically.

This is not a logging alternative, it's intended to produce output for end user consumption.

It handles three levels of verbosity that can be set dynamically at runtime:

Output Macros

* debug! is intended to be used during application development

* all other debugging and telemetry output is most likely better served with a logging library

Conditional Code

Resources

Usage

Each macro is gated by a feature.

No feature is mutually exclusive and can be combined as needed.

toml [dependencies] cli-toolbox = { version = "0.6", features = ["debug"] }

toml [dependencies] cli-toolbox = { version = "0.6", features = ["eval"] } verbosity = "0.1"

toml [dependencies] cli-toolbox = { version = "0.6", features = ["release"] } verbosity = "0.1"

toml [dependencies] cli-toolbox = { version = "0.6", features = ["report"] } verbosity = "0.1"

Roadmap

Implemented