mirror of
				https://github.com/KevinMidboe/spotify-downloader.git
				synced 2025-10-29 18:00:15 +00:00 
			
		
		
		
	Add --overwrite option (#182)
* Add overwrite option * Fix tests * address changes requested
This commit is contained in:
		
				
					committed by
					
						 Ritiek Malhotra
						Ritiek Malhotra
					
				
			
			
				
	
			
			
			
						parent
						
							64548b6894
						
					
				
				
					commit
					01bb783724
				
			| @@ -62,6 +62,10 @@ def get_arguments(): | ||||
|     parser.add_argument( | ||||
|         '-f', '--folder', default=(os.path.join(sys.path[0], 'Music')), | ||||
|         help='path to folder where files will be stored in') | ||||
|     parser.add_argument( | ||||
|         '--overwrite', default='prompt', | ||||
|         help='change the overwrite policy', | ||||
|         choices={'prompt', 'force', 'skip'}) | ||||
|     parser.add_argument( | ||||
|         '-i', '--input-ext', default='.m4a', | ||||
|         help='prefered input format .m4a or .webm (Opus)') | ||||
|   | ||||
		Reference in New Issue
	
	Block a user