Added Logger and new option log

This commit is contained in:
sanex3339
2017-07-29 13:41:15 +03:00
parent f6e9fa14e0
commit d5e84b1d1c
17 changed files with 185 additions and 13 deletions
+4
View File
@@ -166,6 +166,10 @@ export class JavaScriptObfuscatorCLI {
'Blocks the execution of the code in domains that do not match the passed RegExp patterns (comma separated)',
(value: string) => value.split(',')
)
.option(
'--log <boolean>', 'Enables logging of the information to the console',
BooleanSanitizer
)
.option(
'--mangle <boolean>', 'Enables mangling of variable names',
BooleanSanitizer