diff --git a/project/cli.py b/project/cli.py index 041907d..13fa7f5 100644 --- a/project/cli.py +++ b/project/cli.py @@ -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 = {} diff --git a/project/export/__init__.py b/project/export/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/project/export/cli.py b/project/export/cli.py new file mode 100644 index 0000000..3899ad5 --- /dev/null +++ b/project/export/cli.py @@ -0,0 +1,7 @@ +import click +from project.utils import config + +@click.command('export') +@click.argument('sections', nargs=-1) +def cli(sections): + pass