UNKNOWN
Project description
## Description
Simple CLI commands loader for [click](http://click.pocoo.org)
## Install
pip install dyno-click
## Examples
Static modules:
```python
from dynoclick import DynoCli
cli = DynoCli(['test', 'test1'])
cli()
```
Dynamic discovery:
```python
import pip
from dynoclick import DynoCli
modules = [x.key for x in pip.get_installed_distributions()
if x.key.startswith('someprefix_')
cli = DynoCli(modules)
cli()
```
Simple CLI commands loader for [click](http://click.pocoo.org)
## Install
pip install dyno-click
## Examples
Static modules:
```python
from dynoclick import DynoCli
cli = DynoCli(['test', 'test1'])
cli()
```
Dynamic discovery:
```python
import pip
from dynoclick import DynoCli
modules = [x.key for x in pip.get_installed_distributions()
if x.key.startswith('someprefix_')
cli = DynoCli(modules)
cli()
```
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
dynoclick-0.2.0.tar.gz
(2.8 kB
view details)
File details
Details for the file dynoclick-0.2.0.tar.gz
.
File metadata
- Download URL: dynoclick-0.2.0.tar.gz
- Upload date:
- Size: 2.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 960eaec38f5827d028c1275e10693b6a1accdf931652d10799a9a2cda4050230 |
|
MD5 | ef3d3db33c4583d4832ebcf18d4f7def |
|
BLAKE2b-256 | 8cd262472cd77b86dd7ec904fdb788b5c26b7e3afb857155be4819f413cb4a34 |