1#![allow(non_snake_case)]
2pub use term::color;
3
4pub static mut ERROR_LINE_COLOR: color::Color = color::RED; pub fn error_line_color_get() -> color::Color {
6 unsafe { ERROR_LINE_COLOR }
7}
8pub fn error_line_color_set(num: color::Color) {
9 unsafe { ERROR_LINE_COLOR = num }
10}
11
12pub static mut OPT_HELP_SORT_KEY: &'static str = "___app_internal_0";
13pub fn opt_help_sort_key_get() -> &'static str {
14 unsafe { OPT_HELP_SORT_KEY }
15}
16pub fn opt_help_sort_key_set(s: &'static str) {
17 unsafe { OPT_HELP_SORT_KEY = s }
18}
19
20pub static mut OPT_VERSION_SORT_KEY: &'static str = "___app_internal_1";
21pub fn opt_version_sort_key_get() -> &'static str {
22 unsafe { OPT_VERSION_SORT_KEY }
23}
24pub fn opt_version_sort_key_set(s: &'static str) {
25 unsafe { OPT_VERSION_SORT_KEY = s }
26}
27
28pub static mut OPTIONAL: &'static str = "(optional)";
29pub fn optional_get() -> &'static str {
30 unsafe { OPTIONAL }
31}
32pub fn optional_set(s: &'static str) {
33 unsafe { OPTIONAL = s }
34}