aboutsummaryrefslogtreecommitdiff
path: root/apps/cassiopeia/src/meta.rs
blob: ec71498986e319bfb17d26b3b950ef5239860721 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
//! Metadata and strings for this application
// TODO: translate this

pub const NAME: &'static str = env!("CARGO_PKG_NAME");
pub const VERSION: &'static str = env!("CARGO_PKG_VERSION");
pub const AUTHOR: &'static str = env!("CARGO_PKG_AUTHORS");
pub const ABOUT: &'static str = env!("CARGO_PKG_DESCRIPTION");

pub const ARG_FILE: &'static str = "CASS_FILE";
pub const ARG_FILE_ABOUT: &'static str = "Provide a .cass file to operate on";

pub const CMD_START: &'static str = "start";
pub const CMD_START_ABOUT: &'static str = "Start a work session";

pub const CMD_STOP: &'static str = "stop";
pub const CMD_STOP_ABOUT: &'static str = "Stop the current work session";

pub const ARG_ROUNDING: &'static str = "CASS_ROUNDING";
pub const ARG_ROUNDING_ABOUT: &'static str = "Disable the (default) 15 minute rounding period";

pub const CMD_INVOICE: &'static str = "invoice";
pub const CMD_INVOICE_ABOUT: &'static str = "Create an invoice.  You get to choose between simply adding a \
statement to your time file, or generating .yml configuration to build an invoice generator from.  See invoice(1) \
for more detail!";

pub const CMD_UPDATE: &'static str = "update";
pub const CMD_UPDATE_ABOUT: &'static str = "Update the selected file to a new version";

pub const ARG_CLIENT: &'static str = "CLIENT";
pub const ARG_CLIENT_ABOUT: &'static str =
    "Provide the name of the current client for invoice generation";

pub const ARG_PROJECT: &'static str = "PROJECT";
pub const ARG_PROJECT_ABOUT: &'static str =
    "Provide the name of the current project for invoice generation";

pub const ARG_GEN_YAML: &'static str = "GEN_YAML";
pub const ARG_GEN_YAML_ABOUT: &'static str =
    "Specify whether to generate a .yml invoice configuration";

pub const ARG_CLIENT_DB: &'static str = "CLIENT_DB";
pub const ARG_CLIENT_DB_ABOUT: &'static str =
    "Provide your client database file (.yml format) used by invoice(1)";

pub const CMD_STAT: &'static str = "stat";
pub const CMD_STAT_ABOUT: &'static str = "Get statistics of previous work sessions";