@@ -18,7 +18,6 @@ def cli(caller_file):
1818 argp .add_argument ('--exclude-langs' , type = str , help = 'Languages to exclude (e.g. "en,es")' )
1919 argp .add_argument ('--ignore-keys' , type = str , help = 'Keys to ignore (e.g. "appName,author")' )
2020 argp .add_argument ('--locales-dir' , type = str , help = 'Name of folder containing locales' )
21- argp .add_argument ('--provider' , type = str , help = 'Name of provider to use for translation' )
2221 argp .add_argument ('--init' , action = 'store_true' , help = f'Create { cli .name } .config.json file to store defaults' )
2322 argp .add_argument ('--no-wizard' , action = 'store_true' , default = None , help = 'Skip interactive prompts during start-up' )
2423 cli .config .__dict__ .update ({ key :val for key ,val in vars (argp .parse_args ()).items () if val is not None })
@@ -29,7 +28,6 @@ def cli(caller_file):
2928 cli .config .exclude_langs = data .csv .parse (getattr (cli .config , 'exclude_langs' , None ))
3029 cli .config .ignore_keys = data .csv .parse (getattr (cli .config , 'ignore_keys' , None ))
3130 cli .config .locales_dir = getattr (cli .config , 'locales_dir' , '_locales' )
32- cli .config .provider = getattr (cli .config , 'provider' , '' )
3331 if cli .config .exclude_langs :
3432 cli .config .target_locales = [lang for lang in cli .config .target_locales if lang not in cli .config .exclude_langs ]
3533 cli .config .no_wizard = getattr (cli .config , 'no_wizard' , False )
0 commit comments