Skip to content

Commit

Permalink
Added framework for CLI using click.
Browse files Browse the repository at this point in the history
  • Loading branch information
CoolDude53 committed Sep 25, 2017
1 parent 6293a89 commit d23af90
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
# Snatch-CLI
Using Click for clean CLI.
11 changes: 11 additions & 0 deletions snatch.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
import click


@click.command()
@click.option('--name', prompt="Please enter your name/package", help='The person to greet.')
def pull(name):
click.echo('Hello %s!' % name)


if __name__ == '__main__':
pull()

0 comments on commit d23af90

Please sign in to comment.