1
Fork 0

Added project and sync command definitions

This commit is contained in:
Jake Howard 2015-11-27 18:38:33 +00:00
parent 42e422e53a
commit 0b87022791
5 changed files with 14 additions and 1 deletions

View File

@ -11,7 +11,7 @@ logging.getLogger("requests").setLevel(logging.WARNING)
class DotFileCLI(click.MultiCommand):
def list_commands(self, ctx):
return []
return ['config', 'sync']
def get_command(self, ctx, name):
ns = {}

View File

7
project/config/cli.py Normal file
View File

@ -0,0 +1,7 @@
import click
CONFIG_DIR = "~/.dfa.conf"
@click.command('sync')
def cli():
pass

0
project/sync/__init__.py Normal file
View File

6
project/sync/cli.py Normal file
View File

@ -0,0 +1,6 @@
import click
@click.command('sync')
def cli():
pass