Skip to content

jexio/duty

 
 

Repository files navigation

duty

ci documentation pypi version gitpod gitter

A simple task runner.

Inspired by Invoke.

demo

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.

About

A simple task runner.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 99.3%
  • Other 0.7%