logrs 0.1.0

Record-keeping or diary tool.
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
use std::env;

pub fn get_args() -> String {
    let mut args = env::args();
    // skip file location, not needed.
    args.next();
    let mut res = String::new();

    for arg in args {
        res.push_str(&arg);
        res.push_str(" ");
    }

    res.trim().to_owned()
}