Skip to main content

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

https://io.lin.moe/n/prjs/hagi.html

Project details


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

If you're not sure about the file name format, learn more about wheel file names.

hagi-0.0.4-py3-none-any.whl (21.2 kB view details)

Uploaded Python 3

File details

Details for the file hagi-0.0.4-py3-none-any.whl.

File metadata

  • Download URL: hagi-0.0.4-py3-none-any.whl
  • Upload date:
  • Size: 21.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.8

File hashes

Hashes for hagi-0.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 ea91923b8a3c6efdfdf0e4d3861df26fea28630dfddb3dca9a3a72f4eef80cdb
MD5 c2c5b0a5e4f5d5867fc06c9a68f97ed6
BLAKE2b-256 d232234ee7e892b4252f459ae1e219cd20658eec2d16a745c7675ad795dd3ecc

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page