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.1.tar.gz (4.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

run_configurations-1.1.1-py3-none-any.whl (5.4 kB view details)

Uploaded Python 3

File details

Details for the file run_configurations-1.1.1.tar.gz.

File metadata

  • Download URL: run_configurations-1.1.1.tar.gz
  • Upload date:
  • Size: 4.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.9.21

File hashes

Hashes for run_configurations-1.1.1.tar.gz
Algorithm Hash digest
SHA256 0989cd0a9c25ffefe19ef43d99d2c4dada6251908925b1e6c9e971fccb440a55
MD5 4fa2dd695e4151421f81f0a97fb42fb6
BLAKE2b-256 b7be10c2fe0ee3b4c9a5e515cf0b22c26af5611edca5252ceb120029466c2c6c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for run_configurations-1.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 4b3ecdd488d229490dfdcccff55a303da2ecb63fdfd53848b7f4021ae7db5da5
MD5 91d3d5d2f5e625242b2f8f38be81cec9
BLAKE2b-256 b2d74d03fe9abff2bb44c48bc300dd357cfb4d029abf9b8fb29dd1d4606a8cb7

See more details on using hashes here.

Supported by

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