All Projects → pawamoy → duty

pawamoy / duty

Licence: ISC license
A simple task runner.

Programming Languages

python
139335 projects - #7 most used programming language
shell
77523 projects
Makefile
30231 projects

Projects that are alternatives of or similar to duty

Bake
Bake is a bash task runner
Stars: ✭ 27 (-25%)
Mutual labels:  task, runner, task-runner
Drome
JavaScript task runner
Stars: ✭ 135 (+275%)
Mutual labels:  task, runner, task-runner
lets
CLI task runner for developers - a better alternative to make
Stars: ✭ 50 (+38.89%)
Mutual labels:  task, runner, task-runner
Run When
Run tasks based on "Git diff" changes 🏃 ➕ ➖
Stars: ✭ 63 (+75%)
Mutual labels:  task, task-runner
Mask
🎭 A CLI task runner defined by a simple markdown file
Stars: ✭ 495 (+1275%)
Mutual labels:  task, task-runner
Cargo Make
Rust task runner and build tool.
Stars: ✭ 895 (+2386.11%)
Mutual labels:  task, task-runner
concurrent-tasks
A simple task runner which will run all tasks till completion, while maintaining concurrency limits.
Stars: ✭ 27 (-25%)
Mutual labels:  task, task-runner
Runner
Simple, lightweight task runner for Bash.
Stars: ✭ 133 (+269.44%)
Mutual labels:  task, runner
Flowa
🔥Service level control flow for Node.js
Stars: ✭ 66 (+83.33%)
Mutual labels:  task, runner
Tasker
Tasker is a multipurpose task runner
Stars: ✭ 160 (+344.44%)
Mutual labels:  task, task-runner
Dramatiq
A fast and reliable background task processing library for Python 3.
Stars: ✭ 2,844 (+7800%)
Mutual labels:  task, task-runner
Task
A task runner / simpler Make alternative written in Go
Stars: ✭ 4,282 (+11794.44%)
Mutual labels:  task, task-runner
Phulp
The task manager for php
Stars: ✭ 294 (+716.67%)
Mutual labels:  task, task-runner
Nake
Magic script-based C# task runner for .NET Core
Stars: ✭ 183 (+408.33%)
Mutual labels:  task, runner
Task Easy
A simple, customizable, and lightweight priority queue for promises.
Stars: ✭ 244 (+577.78%)
Mutual labels:  task, runner
tasuku
✅ タスク — The minimal task runner for Node.js
Stars: ✭ 1,488 (+4033.33%)
Mutual labels:  task, runner
taskit
A Task Runner in Bash
Stars: ✭ 35 (-2.78%)
Mutual labels:  task, runner
nano-staged
Tiny tool to run commands for modified, staged, and committed files in a GIT repository.
Stars: ✭ 347 (+863.89%)
Mutual labels:  task, runner
Maid
Markdown driven task runner.
Stars: ✭ 1,999 (+5452.78%)
Mutual labels:  task, runner
composer
API-first task runner with three methods: task, run and watch.
Stars: ✭ 35 (-2.78%)
Mutual labels:  task, task-runner

Duty

ci documentation pypi version gitter

A simple task runner.

Inspired by Invoke.

demo

Requirements

Duty requires Python 3.6 or above.

To install Python 3.6, I recommend using pyenv.
# install pyenv
git clone https://github.com/pyenv/pyenv ~/.pyenv

# setup pyenv (you should also put these three lines in .bashrc or similar)
export PATH="${HOME}/.pyenv/bin:${PATH}"
export PYENV_ROOT="${HOME}/.pyenv"
eval "$(pyenv init -)"

# install Python 3.6
pyenv install 3.6.12

# make it available globally
pyenv global system 3.6.12

Installation

With pip:

python3.6 -m pip install duty

With pipx:

python3.6 -m pip install --user pipx

pipx install --python python3.6 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.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].