Skip to content

Commit

Permalink
Remove CLI repo validation
Browse files Browse the repository at this point in the history
This prevents auto-creation from happening, which I like.
  • Loading branch information
jbernard committed Feb 4, 2016
1 parent 066e990 commit b7c8820
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions dotfiles/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,8 @@ def perform(method, files, repo, debug):


@click.group(context_settings=CONTEXT_SETTINGS)
@click.option('-r', '--repo',
type=click.Path(exists=True, file_okay=False, dir_okay=True),
default=[DEFAULT_REPO], show_default=True, multiple=True,
@click.option('-r', '--repo', type=click.Path(), multiple=True,
default=[DEFAULT_REPO], show_default=True,
help='A repository path.')
@click.option('-d', '--dot', is_flag=True, help='Preserve the leading dot.')
@click.version_option(None, '-v', '--version')
Expand Down

0 comments on commit b7c8820

Please sign in to comment.