main
Last change
on this file was 79a0317, checked in by stefan toskovski <stefantoska84@…>, 2 weeks ago |
F4 Finalna Verzija
|
-
Property mode
set to
100644
|
File size:
537 bytes
|
Rev | Line | |
---|
[79a0317] | 1 | "use strict";
|
---|
| 2 | Object.defineProperty(exports, "__esModule", { value: true });
|
---|
| 3 | class InfoCommand {
|
---|
| 4 | async apply(cli) {
|
---|
| 5 | await cli.makeCommand({
|
---|
| 6 | name: "info",
|
---|
| 7 | alias: "i",
|
---|
| 8 | description: "Outputs information about your system.",
|
---|
| 9 | usage: "[options]",
|
---|
| 10 | pkg: "@webpack-cli/info",
|
---|
| 11 | }, cli.getInfoOptions(), async (options) => {
|
---|
| 12 | const info = await cli.getInfoOutput(options);
|
---|
| 13 | cli.logger.raw(info);
|
---|
| 14 | });
|
---|
| 15 | }
|
---|
| 16 | }
|
---|
| 17 | exports.default = InfoCommand;
|
---|
Note:
See
TracBrowser
for help on using the repository browser.