Usage
riot
riot [OPTIONS] COMMAND [ARGS]...
Options
- -f, --file <riotfile>
- Default
riotfile.py
- -v, --verbose
- -d, --debug
- -P, --pipe
Pipe mode. Makes riot emit plain output.
- --version
Show the version and exit.
generate
Generate base virtual environments.
A base virtual environment is a virtual environment with the local package installed.
Generating the base virtual environments is useful for performance to avoid having to reinstall the local package repeatedly.
Once the base virtual environments are built, the --skip-base-install
option
can be used for the run command to avoid having to install the local package.
riot generate [OPTIONS] [PATTERN]
Options
- -r, --recreate-venvs
- -s, --skip-base-install
- -p, --python <pythons>
Arguments
- PATTERN
Optional argument
Environment variables
- RIOT_PATTERN
Provide a default for
PATTERN
list
List all virtual env instances matching a pattern.
riot list [OPTIONS] [PATTERN]
Options
- -p, --python <pythons>
- --venv-pattern <venv_pattern>
- -i, --interpreters
- --hash-only
Only print the hashes of matched venvs
Arguments
- PATTERN
Optional argument
Environment variables
- RIOT_PATTERN
Provide a default for
PATTERN
requirements
Cache requirements for a venv.
riot requirements [OPTIONS] IDENT
Arguments
- IDENT
Required argument
run
Run virtualenv instances with names matching a pattern.
riot run [OPTIONS] [PATTERN]
Options
- -r, --recreate-venvs
- -s, --skip-base-install
- --pass-env
- -p, --python <pythons>
- --skip-missing
- -x, --exitfirst
- --venv-pattern <venv_pattern>
- -c, --recompile-requirements
Arguments
- PATTERN
Optional argument
Environment variables
- RIOT_PATTERN
Provide a default for
PATTERN
shell
Launch a shell inside a venv.
riot shell [OPTIONS] IDENT
Options
- --pass-env
Arguments
- IDENT
Required argument