Docs.rs
mod-cli-0.3.8
mod-cli 0.3.8
Docs.rs crate page
Apache-2.0
Links
Repository
crates.io
Source
Owners
jamesgober
Dependencies
clap ^4.5.4
normal
colored ^2.1.0
normal
colorgrad ^0.6.0
normal
crossterm ^0.27.0
normal
libloading ^0.7
normal
once_cell ^1.18
normal
rpassword ^7.2.0
normal
serde ^1.0
normal
serde_json ^1.0
normal
terminal_size ^0.1
normal
thiserror ^1.0.56
normal
tokio ^1.0
normal
once_cell ^1.19
dev
tokio ^1.0
dev
Versions
14.09%
of the crate is documented
Go to latest version
Platform
i686-pc-windows-msvc
i686-unknown-linux-gnu
x86_64-apple-darwin
x86_64-pc-windows-msvc
x86_64-unknown-linux-gnu
Feature flags
docs.rs
About docs.rs
Badges
Builds
Metadata
Shorthand URLs
Download
Rustdoc JSON
Build queue
Privacy policy
Rust
Rust website
The Book
Standard Library API Reference
Rust by Example
The Cargo Guide
Clippy Documentation
modcli
0.3.8
Module gradient
Module Items
Functions
In modcli::
output
modcli
::
output
Module
gradient
Copy item path
Source
Functions
§
generate_
gradient
Generates a horizontal gradient between two colors over N steps. This can be used for printing rainbow text or gradual transitions.
print_
gradient_
line
Print gradient text directly to stdout.