zoi-cli 1.25.4

Advanced Package Manager & Environment Orchestrator
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
//! Logic for the `version` command.

use colored::Colorize;

use crate::utils;

/// Run the version command.
pub fn run(branch: &str, status: &str, number: &str, commit: &str) {
    println!("{} Zoi version information", "::".bold().blue());
    utils::print_info("Branch", branch);
    utils::print_info("Status", status);
    utils::print_info("Number", number);
    utils::print_info("Commit", commit.green());
}