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.dev1.tar.gz
(11.6 kB
view hashes)
Built Distribution
Close
Hashes for zeroguard_cli-0.0.1.dev1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 839fb40c9fd33274e64692ac75ef17b196668d883b4d98f0efde2925151a433f |
|
MD5 | 49fdc4d6754f0a1088d1eed4e8f59fb5 |
|
BLAKE2b-256 | 3ab0a3a13c2b9ac2f0c641c5bd42f7e75dcb4f299764b5bd7237adf728f30342 |