@@ -60,25 +60,41 @@ details).
6060The current version supports minimal command options and there are no
6161required arguments::
6262
63- (dev) user@host $ procman
64- usage: procman [-h] [-v ] [-d ] [-c RUNFOR ] [-D ] [-t ] [--version ] [-S ]
63+ (dev) user@host $ procman -h
64+ usage: procman [-h] [--version ] [-D ] [-S ] [-t ] [-v ] [-d ] [-c RUNFOR] [FILE ]
6565
6666 Process manager for user scripts
6767
68+ positional arguments:
69+ FILE path to user-defined yaml configuration (default:
70+ None)
71+
6872 options:
6973 -h, --help show this help message and exit
70- -v, --verbose Display more processing info (default: False)
74+ --version show program's version number and exit
75+ -D, --demo run demo config (default: False)
76+ -S, --show display user config (default: False)
77+ -t, --test run sanity checks (default: False)
78+ -v, --verbose display more processing info (default: False)
7179 -d, --dump-config dump active yaml configuration to stdout (default:
7280 False)
73- -c RUNFOR, --countdown RUNFOR
74- Runtime STOP timer in seconds - 0 means run until
75- whenever (default: 0)
76- -D, --demo Run demo config (default: False)
77- -t, --test Run sanity checks (default: False)
78- --version show program's version number and exit
79- -S, --show Display user data paths (default: False)
81+ -c, --countdown RUNFOR
82+ runtime STOP timer in seconds - 0 means run forever
83+ (default: 0)
84+
85+ Configuration options
86+ ---------------------
87+
88+ There are several ways to apply your own configuration:
89+
90+ * use default filename pattern in project root, either ``.procman `` or
91+ ``procman `` with a YAML extension of ``.yml `` or ``.yaml ``
92+
93+ * use any filename with YAML extension passed as positional argument, eg
94+ something like ``procman custom_config.yaml ``
8095
81- No cfg file found; use the --demo arg or create a cfg file
96+ * set the ``PROCMAN_CFG `` environment variable to something like
97+ ``my/path/to/config.yaml ``
8298
8399
84100Usage
@@ -251,7 +267,7 @@ To build/lint the html docs, use the following tox commands:
251267To install the latest release, eg with your own ``tox.ini `` file in
252268another project, use something like this::
253269
254- $ pip install -U https://github.com/sarnold/procman/releases/download/0.1.0/procman-0.1.0 -py3-none-any.whl
270+ $ pip install -U https://github.com/sarnold/procman/releases/download/0.1.0/procman-0.4.1 -py3-none-any.whl
255271
256272
257273.. _Tox : https://github.com/tox-dev/tox
@@ -381,7 +397,7 @@ specifications.
381397 :target: https://github.com/sarnold/procman/releases
382398 :alt: GitHub tag
383399
384- .. |python | image :: https://img.shields.io/badge/python-3.6 +-blue.svg
400+ .. |python | image :: https://img.shields.io/badge/python-3.9 +-blue.svg
385401 :target: https://www.python.org/downloads/
386402 :alt: Python
387403
0 commit comments