This commit is contained in:
sanex3339
2016-06-24 18:29:46 +03:00
parent dcc7546557
commit 90d8933ecb
8 changed files with 179 additions and 71 deletions
+11 -2
View File
@@ -34,8 +34,17 @@ export class JavaScriptObfuscator {
return JavaScriptObfuscator.generateCode(astTree, options);
}
public static runCLI (): void {
new JavaScriptObfuscatorCLI().run();
/**
* @param argv
* @param stdin
* @param stdout
*/
public static runCLI (
argv: string[],
stdin: NodeJS.ReadableStream,
stdout: NodeJS.WritableStream
): void {
new JavaScriptObfuscatorCLI(argv, stdin, stdout).run();
}
/**