On Thu, 2021-09-02 at 00:17 +0100, Stuart Henderson wrote:
> This is a task execution tool that was split off from "Fabric"
> (sysutils/fabric). Needed to update/unbreak fabric, and needed for
> tests of newer versions of py-paramiko.
>
> blurb from the website https://www.pyinvoke.org/ (DESCR is much shorter)
> below. OK to import?
OK aja
>
>
> ---
> Invoke is a Python (2.7 and 3.4+) task execution tool & library, drawing
> inspiration from various sources to arrive at a powerful & clean feature
> set.
>
> Like Ruby’s Rake tool and Invoke’s own predecessor Fabric 1.x,
> it provides a clean, high level API for running shell commands and
> defining/organizing task functions from a tasks.py file.
>
> From GNU Make, it inherits an emphasis on minimal boilerplate for
> common patterns and the ability to run multiple tasks in a single
> invocation.
>
> Where Fabric 1.x considered the command-line approach the default
> mode of use, Invoke (and tools built on it) are equally at home embedded
> in your own Python code or a REPL.
>
> Following the lead of most Unix CLI applications, it offers a
> traditional flag-based style of command-line parsing, deriving flag
> names and value types from task signatures (optionally, of course!).
>
> Like many of its predecessors, it offers advanced features as well –
> namespacing, task aliasing, before/after hooks, parallel execution and
> more.
> ---
--
Antoine