Skip to main content

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

run_configurations-1.1.0.tar.gz (4.6 kB view details)

Uploaded Source

Built Distribution

run_configurations-1.1.0-py3-none-any.whl (5.1 kB view details)

Uploaded Python 3

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

Hashes for run_configurations-1.1.0.tar.gz
Algorithm Hash digest
SHA256 d14c92c80f03b4c9aa2a34568eb73efae15cabcd23c782063211bbed56da9359
MD5 1a3acb9a4c225334b0d8b1ee7ece0085
BLAKE2b-256 ef3b1ae510b83d40b3b8f8201ac7430d7f01da7e2a309f624b9b3a5773118e05

See more details on using hashes here.

File details

Details for the file run_configurations-1.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for run_configurations-1.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 d429754f68ea82e9c9fa084d5d3a5229ce4c45c5276a49588f52ccf952c7032c
MD5 e8cf53b247ffac7d43a86ef57692e324
BLAKE2b-256 500714a06ec75cefe79991668d49203f7f1e340c176099dd774c930a7d5ab244

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page