diff options
author | Jon Bernard <jbernard@tuxion.com> | 2016-01-03 22:37:49 -0500 |
---|---|---|
committer | Jon Bernard <jbernard@tuxion.com> | 2016-01-03 22:39:43 -0500 |
commit | f216646d2e824af726a7cd0d4d881577ea6dd0d8 (patch) | |
tree | fc62ea1b9b547b918011543cf0a5f79404ad2f94 /dotfiles.py | |
parent | ad3e6a6d4456ffdf4c26deac7e06aa35d487f92e (diff) | |
download | dotfiles-f216646d2e824af726a7cd0d4d881577ea6dd0d8.tar.gz dotfiles-f216646d2e824af726a7cd0d4d881577ea6dd0d8.tar.bz2 dotfiles-f216646d2e824af726a7cd0d4d881577ea6dd0d8.zip |
Add cli tests
Diffstat (limited to 'dotfiles.py')
-rw-r--r-- | dotfiles.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/dotfiles.py b/dotfiles.py index f3bba1f..ce0d31a 100644 --- a/dotfiles.py +++ b/dotfiles.py @@ -175,7 +175,7 @@ def remove(repo, files): @cli.command() @click.option('-c', '--color', is_flag=True, help='Enable color.') -@click.option('-s', '--short', is_flag=True, help='Terse output.') +@click.option('-s', '--short', is_flag=True, help='Show terse output.') @pass_repo def status(repo, color, short): """Show all dotifles in a non-ok state.""" @@ -187,7 +187,7 @@ def status(repo, color, short): } if not short: - raise NotImplementedError('long output, use --short for now') + click.echo('long output not yet implemeted, using --short for now') dotfiles = repo.contents() for dotfile in dotfiles: |