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 details)
Built Distribution
File details
Details for the file zeroguard-cli-0.0.1.dev1.tar.gz
.
File metadata
- Download URL: zeroguard-cli-0.0.1.dev1.tar.gz
- Upload date:
- Size: 11.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.37.0 CPython/3.7.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
86d5d7a78eef4855a733b5a9d3920ae9e6eaadb14bb26e249dbc209a777dcc3f
|
|
MD5 |
9895d00d7416705739eecad7bb9658b8
|
|
BLAKE2b-256 |
e2c973ee12f9e185ad8d0239f32678e0da64fec1746eb3fe5844b73bc30df474
|
File details
Details for the file zeroguard_cli-0.0.1.dev1-py3-none-any.whl
.
File metadata
- Download URL: zeroguard_cli-0.0.1.dev1-py3-none-any.whl
- Upload date:
- Size: 17.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.37.0 CPython/3.7.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
839fb40c9fd33274e64692ac75ef17b196668d883b4d98f0efde2925151a433f
|
|
MD5 |
49fdc4d6754f0a1088d1eed4e8f59fb5
|
|
BLAKE2b-256 |
3ab0a3a13c2b9ac2f0c641c5bd42f7e75dcb4f299764b5bd7237adf728f30342
|