This repository has been archived on 2023-03-26. You can view files and clone it, but cannot push or open issues or pull requests.
|
import click
|
|
from project.utils import config
|
|
|
|
|
|
@click.group('config')
|
|
def cli():
|
|
pass
|
|
|
|
|
|
@cli.command('show')
|
|
@click.argument('key', nargs=-1)
|
|
def show(key):
|
|
key = " ".join(key)
|
|
print(config.get(key))
|
|
return 0
|