A small script that allows quickly executing run configurations from the command line including shell completions
Project description
A small script that allows quickly executing run configurations from the command line including shell completions.
A run configurations can be any executable placed in a .run_configs
directory
in any parent of the current working directory. Configurations are always
executed in the directory containing the .run_configs
folder to get the same
behavior independent of the current working directory.
Usage: rc [OPTIONS] RUN_CONFIG [ARGS]...
Run a run config
A run config can be any executable file in the .run_configs directory.
Options:
-f, --fork Fork process and return immediately. If -s
is also supplied the screen session will
start detached.
-n, --null-pipe Use a null pipe instead of a PTY. Is ignored
if -s is supplied
-s, --screen Run in a screen session.
-e, --edit Edit run config instead of running.
-l, --list List available run configs.
-x, --make-executable Make run config executable if it isn't
already.
--base-dir DIRECTORY Base directory to run from. Defaults to the
first directory containing a .run_configs
directory. Should contain a .run_configs
directory with executable run configs.
--get-base-dir Print base directory.
--get-rc-dir Print run configuration directory.
--zsh-completion Print zsh completion script.
--log-level [DEBUG|INFO|WARNING|ERROR|CRITICAL]
Log level.
--version Show the version and exit.
--help Show this message and exit.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file run_configurations-1.1.0.tar.gz
.
File metadata
- Download URL: run_configurations-1.1.0.tar.gz
- Upload date:
- Size: 4.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.18
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d14c92c80f03b4c9aa2a34568eb73efae15cabcd23c782063211bbed56da9359 |
|
MD5 | 1a3acb9a4c225334b0d8b1ee7ece0085 |
|
BLAKE2b-256 | ef3b1ae510b83d40b3b8f8201ac7430d7f01da7e2a309f624b9b3a5773118e05 |
File details
Details for the file run_configurations-1.1.0-py3-none-any.whl
.
File metadata
- Download URL: run_configurations-1.1.0-py3-none-any.whl
- Upload date:
- Size: 5.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.18
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d429754f68ea82e9c9fa084d5d3a5229ce4c45c5276a49588f52ccf952c7032c |
|
MD5 | e8cf53b247ffac7d43a86ef57692e324 |
|
BLAKE2b-256 | 500714a06ec75cefe79991668d49203f7f1e340c176099dd774c930a7d5ab244 |