Guest User

Untitled

a guest
Dec 15th, 2017
91
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.25 KB | None | 0 0
  1. import click
  2.  
  3. @click.command()
  4. @click.argument('name')
  5. @click.option('-v', is_flag=True, help="Verbose output")
  6. def main(name, v):
  7. if v:
  8. print "Printing output statement"
  9. print("Hello there " + name + "!")
  10.  
  11. if __name__ == "__main__":
  12. main()
Add Comment
Please, Sign In to add comment