Added export command
This commit is contained in:
parent
b7797157cc
commit
b490f8f568
3 changed files with 8 additions and 1 deletions
|
@ -11,7 +11,7 @@ logging.getLogger("requests").setLevel(logging.WARNING)
|
|||
class DotFileCLI(click.MultiCommand):
|
||||
|
||||
def list_commands(self, ctx):
|
||||
return ['config', 'sync']
|
||||
return ['config', 'sync', 'export']
|
||||
|
||||
def get_command(self, ctx, name):
|
||||
ns = {}
|
||||
|
|
0
project/export/__init__.py
Normal file
0
project/export/__init__.py
Normal file
7
project/export/cli.py
Normal file
7
project/export/cli.py
Normal file
|
@ -0,0 +1,7 @@
|
|||
import click
|
||||
from project.utils import config
|
||||
|
||||
@click.command('export')
|
||||
@click.argument('sections', nargs=-1)
|
||||
def cli(sections):
|
||||
pass
|
Reference in a new issue