1 | # lognestmonster Copyright (c) 2019 Joshua 'joshuas3' Stockin |
2 | # <https://github.com/JoshuaS3/lognestmonster/>. |
3 |
|
4 |
|
5 | # This file is part of lognestmonster. |
6 |
|
7 | # lognestmonster is free software: you can redistribute it and/or modify |
8 | # it under the terms of the GNU General Public License as published by |
9 | # the Free Software Foundation, either version 3 of the License, or |
10 | # (at your option) any later version. |
11 |
|
12 | # lognestmonster is distributed in the hope that it will be useful, |
13 | # but WITHOUT ANY WARRANTY; without even the implied warranty of |
14 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
15 | # GNU General Public License for more details. |
16 |
|
17 | # You should have received a copy of the GNU General Public License |
18 | # along with lognestmonster. If not, see <https://www.gnu.org/licenses/>. |
19 |
|
20 | from text import * |
21 |
|
22 | ARGUMENT_OPTIONS = { |
23 |
|
24 | # Command meta |
25 |
|
26 | "help": { |
27 | "indicators": ["-h", "-?", "--help"], |
28 | "description": DESCRIPTION_HELP, |
29 | "valcount": 0 |
30 | }, |
31 | "version": { |
32 | "indicators": ["--version"], |
33 | "description": DESCRIPTION_VERSION, |
34 | "valcount": 0 |
35 | }, |
36 |
|
37 | # Data |
38 |
|
39 | "status": { |
40 | "indicators": ["-s", "--status"], |
41 | "description": DESCRIPTION_STATUS, |
42 | "valcount": 0 |
43 | }, |
44 |
|
45 | # Verbosity levels |
46 |
|
47 | "errors": { |
48 | "indicators": ["-e", "--errors"], |
49 | "description": DESCRIPTION_ERRORS, |
50 | "valcount": 0 |
51 | }, |
52 | "warnings": { |
53 | "indicators": ["-w", "--warnings"], |
54 | "description": DESCRIPTION_WARNINGS, |
55 | "valcount": 0 |
56 | }, |
57 | "info": { |
58 | "indicators": ["-i", "--info"], |
59 | "description": DESCRIPTION_INFO, |
60 | "valcount": 0 |
61 | }, |
62 | "debug": { |
63 | "indicators": ["-d", "--debug"], |
64 | "description": DESCRIPTION_DEBUG, |
65 | "valcount": 0 |
66 | }, |
67 | "verbose": { |
68 | "indicators": ["-v", "--verbose"], |
69 | "description": DESCRIPTION_VERBOSE, |
70 | "valcount": 0 |
71 | }, |
72 | "veryverbose": { |
73 | "indicators": ["-vv", "--veryverbose"], |
74 | "description": DESCRIPTION_VERYVERBOSE, |
75 | "valcount": 0 |
76 | }, |
77 |
|
78 | # filters |
79 |
|
80 | "after": { |
81 | "indicators": ["--after"], |
82 | "description": DESCRIPTION_AFTER, |
83 | "valcount": 1 |
84 | }, |
85 | "before": { |
86 | "indicators": ["--before"], |
87 | "description": DESCRIPTION_BEFORE, |
88 | "valcount": 1 |
89 | }, |
90 | "tag": { |
91 | "indicators": ["-t", "--tag"], |
92 | "description": DESCRIPTION_TAG, |
93 | "valcount": 1 |
94 | }, |
95 | "item": { |
96 | "indicators": ["--item"], |
97 | "description": DESCRIPTION_ITEM, |
98 | "valcount": 1 |
99 | }, |
100 |
|
101 | # other |
102 |
|
103 | "follow": { |
104 | "indicators": ["-f", "--follow"], |
105 | "description": DESCRIPTION_FOLLOW, |
106 | "valcount": 0 |
107 | } |
108 | } |
109 |
|