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 hashes)