A simple task runner.
Project description
duty
A simple task runner.
Inspired by Invoke.
Installation
With pip
:
pip install duty
With pipx
:
python3.7 -m pip install --user pipx
pipx install duty
Quick start
Create a duties.py
file at the root of your repository.
from duty import duty
@duty
def docs(ctx):
ctx.run("mkdocs build", title="Building documentation")
You can now use the command line tool to run it:
duty docs
See the Usage section in the documentation for more examples.
Also see "Why choosing duty over...".
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
duty-0.11.1.tar.gz
(47.6 kB
view hashes)
Built Distribution
duty-0.11.1-py3-none-any.whl
(50.3 kB
view hashes)