Welcome to Invoke! — Invoke documentation (original) (raw)

PyPI - Package Version PyPI - Python Version PyPI - License CircleCI Codecov

Invoke is a Python (2.7 and 3.4+) library for managing shell-oriented subprocesses and organizing executable Python code into CLI-invokable tasks. It draws inspiration from various sources (make/rake, Fabric 1.x, etc) to arrive at a powerful & clean feature set.

To find out what’s new in this version of Invoke, please see the changelog.

The project maintainer keeps a roadmap on his website.

This website covers project information for Invoke such as the changelog, contribution guidelines, development roadmap, news/blog, and so forth. Detailed usage and API documentation can be found at our code documentation site, docs.pyinvoke.org.

Please see below for a high level intro, or the navigation on the left for the rest of the site content.

What is Invoke?

@task
def build(c, docs=False):
c.run("python setup.py build")
if docs:
c.run("sphinx-build docs docs/_build")