Installation¶
RunCommands can be installed from PyPI in the usual ways:
poetry add runcommandspip install runcommands- Add
runcommandsto the project’spyproject.toml - Add
runcommandsto the project’s Pip requirements file - Add
runcommandstoinstall_requiresin the project’ssetup.py
The latest in-development version can be installed from GitHub:
pip install https://github.com/wylee/runcommands
Development¶
To install the project for development:
git clone https://github.com/wylee/runcommands
cd runcommands
poetry install
Note
poetry must be installed first.
Console Scripts¶
On installation, a handful of console scripts will be installed:
- Main:
run,runcommand,runcommand - Completion:
runcommands-complete
Shell Completion¶
Note
Only Bash and Fish completion are currently supported.
Copy the completion script from the source distribution into
~/.bashrc, ~/.config/fish, or some other file that you source into
your profile. Make sure you source the completion script after
initially copying the completion script.
Alternatively, if you’ve cloned the RunCommands repo, you can run
install-completion from the project directory.