From dd78881865bed42b5fca020e80c563d9bf50a927 Mon Sep 17 00:00:00 2001 From: Kelly Sovacool Date: Wed, 24 Jul 2024 09:06:09 -0400 Subject: [PATCH] fix(cli): set prog_name for click to prevent click from stating "Usage: main.py..." see https://www.github.com/pallets/click/issues/365 --- src/__main__.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/__main__.py b/src/__main__.py index f38fbd4c..a8f4d033 100644 --- a/src/__main__.py +++ b/src/__main__.py @@ -127,5 +127,7 @@ def main(): cli() +cli(prog_name="champagne") + if __name__ == "__main__": main()