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.0.0.tar.gz (4.4 kB view hashes)

Uploaded Source

Built Distribution

run_configurations-1.0.0-py3-none-any.whl (5.0 kB view hashes)

Uploaded Python 3

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