Rework arguments

Tryna figure out how I want this laid out
This commit is contained in:
Salt 2020-03-03 06:21:50 -06:00
parent 842cf5d93b
commit 0bd828c6c5

View File

@ -15,10 +15,11 @@ class BadWitch:
def __init__(self):
# Set up arguments
self.argparser = argparse.ArgumentParser(description='Manage a declarative music library through YouTube scraping')
self.argparser.add_argument('-c', '--config', metavar='c', nargs=1,
help='Override default configuration file with this one')
self.argparser.add_argument('-d', '--download-all', dest='downloadall', action='store_true',
help='Download all songs declared in the songs file')
self.argparser.add_argument('action', metavar='action', nargs='+',
choices=['download', 'add', 'remove'],
help='Action to perform on the library')
self.argparser.add_argument('-l', '--library', metavar='f', nargs=1,
help='Override default library file with this one')
self.argparser.add_argument('-v', '--verbose', action='store_true',
help='Show more status messages')