Add --dry-run option (#190)

This commit is contained in:
Ritiek Malhotra
2018-01-06 13:02:07 +05:30
committed by GitHub
parent e175608135
commit 090cdd1c59
2 changed files with 11 additions and 4 deletions

View File

@@ -72,6 +72,10 @@ def get_arguments():
parser.add_argument(
'-o', '--output-ext', default='.mp3',
help='prefered output extension .mp3 or .m4a (AAC)')
parser.add_argument(
'-d', '--dry-run', default=False,
help='Show only track title and YouTube URL',
action='store_true')
parser.add_argument(
'-ll', '--log-level', default='INFO',
choices=_LOG_LEVELS_STR,