jabba-cpc 0.1.2

Copies the path of the current working dir. to the clipboard. If a parameter is given, it's also added to the path.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
use crate::config as cfg;

pub fn print_help() {
    let text = format!("\
cpc (copy path to clipboard) v{ver}

- copies the path of the current working directory to the clipboard
- if a parameter is given, it's also added to the path

Usage: cpc [option] [parameter]
where option can be:
    -h or --help            get this help

see https://github.com/jabbalaci/jabba-cpc for more info", ver=cfg::VERSION);

    println!("{}", text);
}