sindri-cli 0.3.1

A command-line interface for interacting with Sindri's API
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
pub mod clone;
pub use clone::clone;

pub mod deploy;
pub use deploy::deploy;

pub mod login;
pub use login::login;

use console::style;

pub fn handle_operation_error(command: &str, message: &str) -> ! {
    eprintln!("{}", style(format!("{} failed ❌", command)).bold());
    eprintln!("{}", style(message).red());
    std::process::exit(1);
}