Skip to content

Commit

Permalink
fix(cli): set prog_name for click
Browse files Browse the repository at this point in the history
to prevent click from stating "Usage: main.py..."

see https://www.github.com/pallets/click/issues/365
  • Loading branch information
kelly-sovacool committed Jul 24, 2024
1 parent 6eb6566 commit dd78881
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -127,5 +127,7 @@ def main():
cli()


cli(prog_name="champagne")

if __name__ == "__main__":
main()

0 comments on commit dd78881

Please sign in to comment.