termpulse-cli 0.1.0

CLI for native terminal progress indicators — wrap commands, pipe progress, detect capabilities.
1
2
3
4
5
6
7
8
9
10
11
//! `termpulse start` command.

use crate::cli::StartOpts;
use anyhow::Result;
use termpulse::Controller;

pub fn run(opts: StartOpts, _json: bool) -> Result<()> {
    let mut ctrl = Controller::auto();
    ctrl.indeterminate(&opts.label);
    Ok(())
}