pretty-exec-lib 0.0.35

Print a command and then execute it
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
use super::super::*;
use super::{github_actions, Param};

pub fn print_title(param: Param) {
    let Param {
        program,
        arguments,
        syntax_highlight,
        support_github_action,
        ..
    } = param;

    if support_github_action {
        github_actions::GroupOpening(syntax_highlight).log(program, arguments);
    } else {
        syntax_highlight.log(program, arguments);
    }
}