1
1
Fork 0
mirror of https://github.com/cooperhammond/irs.git synced 2025-01-10 20:25:27 +00:00

Merge pull request from kepoorhampond/cleaner-cli

silence argparse errors
This commit is contained in:
Kepoor Hampond 2017-06-11 14:26:50 -07:00 committed by GitHub
commit a43e90bbc4
4 changed files with 5 additions and 9 deletions

View file

@ -5,7 +5,6 @@ python:
- "3.6"
install:
- pip install -r requirements.txt
- python setup.py install
- irs --setup

View file

@ -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()

View file

@ -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")

View file

@ -1,7 +0,0 @@
--index-url https://pypi.python.org/simple/
bs4
mutagen
requests
spotipy
ydl-binaries