Added export command
This commit is contained in:
parent
b7797157cc
commit
b490f8f568
|
@ -11,7 +11,7 @@ logging.getLogger("requests").setLevel(logging.WARNING)
|
||||||
class DotFileCLI(click.MultiCommand):
|
class DotFileCLI(click.MultiCommand):
|
||||||
|
|
||||||
def list_commands(self, ctx):
|
def list_commands(self, ctx):
|
||||||
return ['config', 'sync']
|
return ['config', 'sync', 'export']
|
||||||
|
|
||||||
def get_command(self, ctx, name):
|
def get_command(self, ctx, name):
|
||||||
ns = {}
|
ns = {}
|
||||||
|
|
|
@ -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 New Issue