cliclack 0.5.3

Beautiful, minimal, opinionated CLI prompts inspired by the Clack NPM package.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
use cliclack::{intro, log, outro_note};
use console::style;

fn main() -> std::io::Result<()> {
    intro(style(" note ").on_cyan().black())?;
    log::step("This is a submitted step")?;
    cliclack::note("This is an inline note", "This is a note message")?;
    cliclack::note("", "This is a note without a prompt")?;
    log::warning("Watch out, the next one is an outro!")?;
    outro_note("This is an outro note", "Some explanation")?;

    Ok(())
}