gcd_cli/
constants.rs

1
2pub const DATABASE_FILE: &'static str = "db_file";
3pub const DATABASE_FILE_HELP: &'static str = "SQLITE Database file to store project and usage data.";
4pub const DATABASE_FILE_VALUE_NAME: &'static str = "DATABASE_FILE";
5
6pub const PROJECTS_DIR: &'static str = "projects_dir";
7pub const PROJECTS_DIR_HELP: &'static str = "Projects base dir, projects are relative to this path.";
8pub const PROJECTS_DIR_VALUE_NAME: &'static str = "PROJECTS_DIR";
9
10pub const SCRIPT_FILE: &'static str = "script_file";
11pub const SCRIPT_FILE_HELP: &'static str = "This is the script file that wil contain the selected project.";
12pub const SCRIPT_FILE_VALUE_NAME: &'static str = "SCRIPT_FILE";
13
14pub const FIND: &'static str = "find";
15pub const FIND_HELP: &'static str = "project to find";
16
17pub const EXEC_COMMAND: &'static str = "exec";
18pub const EXEC_COMMAND_HELP: &'static str = "Execute COMMAND in selected folder.";
19pub const EXEC_COMMAND_VALUE_NAME: &'static str = "COMMAND";
20
21pub const FROM_LOCATION: &'static str = "from_location";
22pub const TO_LOCATION: &'static str = "to_location";