mirror of
https://github.com/javascript-obfuscator/javascript-obfuscator
synced 2026-08-09 12:42:29 +00:00
@types: added commander types, removed typings commander types
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
import * as commander from 'commander';
|
||||
import * as path from 'path';
|
||||
|
||||
import { Command } from 'commander';
|
||||
|
||||
import { IObfuscationResult } from "../interfaces/IObfuscationResult";
|
||||
import { IObfuscatorOptions } from "../interfaces/IObfuscatorOptions";
|
||||
@@ -119,7 +119,7 @@ export class JavaScriptObfuscatorCLI {
|
||||
}
|
||||
|
||||
private configureCommands (): void {
|
||||
this.commands = new Command()
|
||||
this.commands = new commander.Command()
|
||||
.version(JavaScriptObfuscatorCLI.getBuildVersion(), '-v, --version')
|
||||
.usage('<inputPath> [options]')
|
||||
.option('-o, --output <path>', 'Output path for obfuscated code')
|
||||
|
||||
Reference in New Issue
Block a user