1 | "use strict";
|
2 | Object.defineProperty(exports, "__esModule", { value: true });
|
3 | const Console_1 = require("./Console");
|
4 | const ProcessArgs_1 = require("./ProcessArgs");
|
5 | class CLI extends Console_1.Console {
|
6 | constructor(options, args) {
|
7 | super(options, args);
|
8 | }
|
9 | static create(options, args) {
|
10 | return new CLI(options, args || ProcessArgs_1.ProcessArgs.from(process.argv));
|
11 | }
|
12 | static run(options, args) {
|
13 | return CLI.create(options, args).start();
|
14 | }
|
15 | }
|
16 | exports.CLI = CLI;
|
17 |
|
\ | No newline at end of file |