Skip to main content

Cheap CLI framework, gives rich commands for Django

Project description

# clilabs: the python CLI that gets things done.

Sometimes I want to execute a python callback with some args on the command
line, but i get frustrated that it always requires to wrap my command in a
wrapper of some sort. Clilabs unfrustrates me.

Get started:

```
$ pip install clilabs

$ clilabs
clilabs automates python callables parametered calls.

Things starting with - will arrive in clilabs.context.

Examples:

clilabs help your.mod:main
clilabs debug your.mod -a --b --something='to see' how it=parses
clilabs your.mod:funcname with your=args
clilabs help clilabs.django
clilabs clilabs.django:list auth.user
clilabs +django:list auth.user # also works

$ clilabs debug your.mod -a --b --something='to see' how it=parses
Could not import your.mod
Args: ('how',)
Kwargs: {'it': 'parses'}
Context args: ['a', 'b']
Context kwagrs: {'something': 'to see'}
```

Moar in tutorial.md

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

clilabs-0.3.2.tar.gz (5.1 kB view details)

Uploaded Source

File details

Details for the file clilabs-0.3.2.tar.gz.

File metadata

  • Download URL: clilabs-0.3.2.tar.gz
  • Upload date:
  • Size: 5.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.19.1 setuptools/39.0.1 requests-toolbelt/0.8.0 tqdm/4.26.0 CPython/3.6.6

File hashes

Hashes for clilabs-0.3.2.tar.gz
Algorithm Hash digest
SHA256 90d47561b4ce1ed3d29a332414dcf781bee7a2d53b538f1d10ae3d77d64ec56d
MD5 51f24a537d37e1790868d486d40e81fb
BLAKE2b-256 9b9e56cb068c511162880f13c8e39dd351252599c01eb4ca4462361a056d112a

See more details on using hashes here.

Supported by

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