Add CLI option

This commit is contained in:
Erik Dubbelboer
2021-06-10 16:32:50 +02:00
parent bbba8252de
commit 02c5e8de0b
4 changed files with 7 additions and 3 deletions
+1 -1
View File
File diff suppressed because one or more lines are too long
+1 -1
View File
File diff suppressed because one or more lines are too long
+1 -1
View File
File diff suppressed because one or more lines are too long
+4
View File
@@ -236,6 +236,10 @@ export class JavaScriptObfuscatorCLI implements IInitializable {
'Allows to run the obfuscated source code only on specific domains and/or sub-domains (comma separated)',
ArraySanitizer
)
.option(
'--domain-dest <string>',
'Allows the browser to be redirected to this domain if the source code isn\'t run on the domains specified by --domain-lock',
)
.option(
'--exclude <list> (comma separated, without whitespaces)',
'A filename or glob which indicates files to exclude from obfuscation',