From 5c32c63829aa0c81cc176a33b5c2820d181e3941 Mon Sep 17 00:00:00 2001 From: Bryan Bugyi Date: Mon, 15 Jan 2024 19:45:34 -0500 Subject: [PATCH] Initialize project by running `make all` --- README.md | 27 ++++ docs/source/modules.rst | 7 + docs/source/zorg.rst | 7 + requirements-dev.in | 2 +- requirements-dev.txt | 287 ++++++++++++++++++++++++++++++++++++++++ requirements.txt | 32 +++++ 6 files changed, 361 insertions(+), 1 deletion(-) create mode 100644 docs/source/modules.rst create mode 100644 docs/source/zorg.rst create mode 100644 requirements-dev.txt create mode 100644 requirements.txt diff --git a/README.md b/README.md index d40e16be..115cfaa3 100644 --- a/README.md +++ b/README.md @@ -59,6 +59,33 @@ popen = subprocess.Popen(["zorg", "--help"], stdout=subprocess.PIPE) stdout, _ = popen.communicate() print("```", stdout.decode().strip(), "```", sep="\n") ]]]]] --> +``` +usage: zorg [-h] [-c CONFIG_FILE] [-L [FILE[:LEVEL][@FORMAT]]] [-v] + +Contains the zorg package's main entry point. + +optional arguments: + -c CONFIG_FILE, --config CONFIG_FILE + Absolute or relative path to a YAML file that contains + this application's configuration. + -h, --help show this help message and exit + -L [FILE[:LEVEL][@FORMAT]], --log [FILE[:LEVEL][@FORMAT]] + This option can be used to enable a new logging + handler. FILE should be either a path to a logfile or + one of the following special file types: [1] 'stderr' + to log to standard error (enabled by default), [2] + 'stdout' to log to standard out, [3] 'null' to disable + all console (e.g. stderr) handlers, or [4] '+[NAME]' + to choose a default logfile path (where NAME is an + optional basename for the logfile). LEVEL can be any + valid log level (i.e. one of ['CRITICAL', 'DEBUG', + 'ERROR', 'INFO', 'TRACE', 'WARNING']) and FORMAT can + be any valid log format (i.e. one of ['color', 'json', + 'nocolor']). NOTE: This option can be specified + multiple times and has a default argument of '+'. + -v, --verbose How verbose should the output be? This option can be + specified multiple times (e.g. -v, -vv, -vvv, ...). +```