ZeroGuard CLI
Project description
ZeroGuard CLI
NOTE: This is an initial CLI application layout draft. It will be later removed completely or moved to Wiki / ReadTheDocs.
CLI Structure
zg
| Root Command Options
Flags
-L --log
- Enable logging-S --log-stdout
- Send log messages to STDOUT instead of STDERR if logging is enabled.-h --help
- Print help message and exit-q --quiet
- Do not output any informational messages-v -V --version
- Print ZG CLI version and exit
Options With Arguments
-l --log-level <LEVEL> [default: warning]
- Logging leveldebug, dbg
info, inf
warning, warn
error, err
critical, crit
-F --log-format <LOG_FORMAT> [default: default]
- Logging formatdefault
- Default logging format (format is hard coded into the application)jsonl
- JSON list: each log message is a JSON objectsyslog
- RFC5424 compatible logging format
-f --format <FORMAT> [default: verbose]
- Output formatcsv
json
tree
- Format similar to output oftree
*nix commandverbose, verb
- Human friendly plain text output formatyaml
zg status
| Status Command
Output ZeroGuard systems status and health information
Conventions & Resources
- https://www.gnu.org/software/libc/manual/html_node/Argument-Syntax.html
- https://www.gnu.org/software/libc/manual/html_node/Getopt-Long-Options.html
- https://pubs.opengroup.org/onlinepubs/9699919799/basedefs/V1_chap12.html
- https://www.gnu.org/prep/standards/html_node/Command_002dLine-Interfaces.html
- https://www.math.uni-hamburg.de/doc/java/tutorial/essential/attributes/_posix.html
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
zeroguard-cli-0.0.1.dev2.tar.gz
(11.8 kB
view hashes)
Built Distribution
Close
Hashes for zeroguard_cli-0.0.1.dev2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2edbcb9a3a821e4eba7dad48ff7f67a7e1a62d76da6a9dfcb7bb51f73c6ac492 |
|
MD5 | f97305301168cea51b4518ee6ad4bbde |
|
BLAKE2b-256 | 033992f3b44b14fc4b440e72273bf18aed52c6372b6806a128987fcd53b60585 |