UNPKG

1.29 kBJavaScriptView Raw
1"use strict";
2
3Object.defineProperty(exports, "__esModule", {
4 value: true
5});
6exports.default = void 0;
7
8var _command = require("../command");
9
10/* eslint-disable import/no-default-export */
11
12/**
13 * InstallSlim command.
14 */
15class InstallSlim extends _command.Command {
16 /**
17 * Description.
18 */
19 // eslint-disable-next-line @typescript-eslint/naming-convention
20
21 /**
22 * Examples.
23 */
24 // eslint-disable-next-line @typescript-eslint/naming-convention
25
26 /**
27 * Flags.
28 */
29 // eslint-disable-next-line @typescript-eslint/naming-convention
30
31 /**
32 * Arguments.
33 */
34 // eslint-disable-next-line @typescript-eslint/naming-convention
35
36 /**
37 * Allow variable length arguments.
38 */
39 // eslint-disable-next-line @typescript-eslint/naming-convention
40
41 /**
42 * Handler.
43 */
44 async run() {
45 const {
46 argv
47 } = this.parse(InstallSlim);
48 await this._commandInstall(argv, 'slim');
49 }
50
51}
52
53exports.default = InstallSlim;
54InstallSlim.description = 'install packages, slim method';
55InstallSlim.examples = [];
56InstallSlim.flags = {
57 help: _command.flags.help({
58 char: 'h'
59 })
60};
61InstallSlim.args = [{
62 name: 'packages',
63 required: true,
64 description: 'list of packages to be installed'
65}];
66InstallSlim.strict = false;
67//# sourceMappingURL=install-slim.js.map