No project description provided
Project description
Hagi
CLI manager inpired by invoke, with type hints and asyncio.
Basic Example:
Create a =tasks.py= file with content:
import sys
from hagi import task, Context
@task
async def hello(c: Context):
"hello to you"
print('hello')
await c.exec('whoami', hide=False)
Then run in shell in the same directory:
lindsay@Reisen> hagi
Usage:
hagi [Command]
Available Commands:
hello hello to you
Flags:
-h --help
lindsay@Reisen> hagi hello
hello
lindsay
More Details
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distribution
hagi-0.0.3-py3-none-any.whl
(20.7 kB
view hashes)