jabba-ctc 0.1.1

Copies its argument (as text) to the clipboard.
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!("\
ctc (copy text to clipboard) v{ver}

Usage examples:

* ctc                   print help
* ctc -h, ctc --help    print help
* ctc <text>            copy the given text to clipboard
* ctc -f <file>         copy the content of the given file to clipboard

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

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