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 | VERSION_SHORT = """lognestmonster/0.1.0""" |
21 |
|
22 | VERSION_MESSAGE = """lognestmonster/0.1.0 Copyright (c) 2019 Joshua 'joshuas3' Stockin |
23 | Licensed under version 3 of the GNU General Public License |
24 | <https://github.com/JoshuaS3/lognestmonster/> |
25 | """ |
26 |
|
27 | # Help screen information |
28 |
|
29 | HELP_MESSAGE = "Run with --help to display usage information" |
30 | USAGE_MESSAGE = "Usage: lognestmonster [OPTIONS] <log_directory>" |
31 |
|
32 | DESCRIPTION_HELP = "Displays program description and a list of valid options and other arguments" |
33 | DESCRIPTION_VERSION = "Displays program information about copyright and the version" |
34 |
|
35 | DESCRIPTION_STATUS = "Reads the directory and outputs file and log metadata for each log tree" |
36 |
|
37 | DESCRIPTION_ERRORS = "Omits all statements besides errors. Stackable with other verbosity level commands" |
38 | DESCRIPTION_WARNINGS = "Omits all statements besides warnings. Stackable with other verbosity level commands" |
39 | DESCRIPTION_INFO = "Omits all statements besides those with verbosity type 'info'. Stackable with other verbosity level commands" |
40 | DESCRIPTION_DEBUG = "Omits all statements besides those with verbosity type 'debug'. Stackable with other verbosity level commands" |
41 | DESCRIPTION_VERBOSE = "Omits all statements besides those with verbosty type 'verbose'. Stackable with other verbosity level commands" |
42 | DESCRIPTION_VERYVERBOSE = "Omits all statements besides those with verbosity type 'veryverbose'. Stackable with other verbosity level commands" |
43 |
|
44 | DESCRIPTION_BEFORE = "Limits log results to before a certain timestamp" |
45 | DESCRIPTION_AFTER = "Limits log results to after a certain timestamp" |
46 | DESCRIPTION_TAG = "Limits log results to a tag" |
47 | DESCRIPTION_STATEMENT = "Limits log results to a numbered statement" |
48 | DESCRIPTION_EVENT = "Limits log results to a numbered event and its children" |
49 |
|
50 | DESCRIPTION_TAIL = "Provides a live scrolling view of the log tree stream, similar to the 'tail' command" |
51 |
|
52 | # TUI messages |
53 |
|
54 | HEADER_MESSAGE = "lognestmonster - {0}" |
55 |
|
56 | METADATA_MESSAGE = "Size: {0} bytes | Timestamp: {1}" |
57 |
|
58 | DATA_MESSAGE_DEFAULT = "{0} Statements | {0} Events | {0} Unsaved Data Trees" |
59 |
|
60 | CONTROLS_MESSAGE = " press q to exit | arrow keys to move, expand, collapse " |
61 |
|