diff --git a/irs/__init__.py b/irs/__init__.py index e5a642b..d2a9448 100644 --- a/irs/__init__.py +++ b/irs/__init__.py @@ -7,7 +7,7 @@ parser = argparse.ArgumentParser() parser.add_argument("-S", "--setup", dest="setup", help="Setup IRS", action="store_true") -args = parser.parse_args() +args, unknown = parser.parse_known_args() if args.setup: setup() diff --git a/irs/cli.py b/irs/cli.py index 0b34c01..087e000 100644 --- a/irs/cli.py +++ b/irs/cli.py @@ -13,6 +13,10 @@ from .utils import Config, console def main(): parser = argparse.ArgumentParser() + # Setup + parser.add_argument("-S", "--setup", dest="setup", help="Setup IRS", + action="store_true") + # Single Song parser.add_argument("-a", "--artist", dest="artist", help="Specify artist \ name. Must be used with -s/--song or -A/--album") diff --git a/requirements.txt b/requirements.txt deleted file mode 100644 index 9d41693..0000000 --- a/requirements.txt +++ /dev/null @@ -1,7 +0,0 @@ ---index-url https://pypi.python.org/simple/ - -bs4 -mutagen -requests -spotipy -ydl-binaries