cli task manager inspire by invoke and fabric

531234f handle aliase conflict

~lindsay pushed to ~lindsay/poke git

7 days ago

9999b80 autopep8

~lindsay pushed to ~lindsay/elapid git

7 days ago


CLI manager inpired by invoke, with type hints and asyncio.

#Quick Start

#!/bin/env python3
# tasks.py 

from poke import task, Context
async def hello():
    "print hello message"

async def whoami(c: Context):
    """get self username"""
    proc = await c.shell('whoami')
    await proc.wait()
# run in tasks.py dir with
poke hello
# or 
POKEPATH=path/to/file poke hello