This commit is contained in:
Alex Yang
2026-03-30 01:04:46 +08:00
parent 050aa421b1
commit f627244b8f
5978 changed files with 1502187 additions and 2947 deletions
+5
View File
@@ -0,0 +1,5 @@
import { type IWebpackCLI } from "webpack-cli";
declare class InfoCommand {
apply(cli: IWebpackCLI): Promise<void>;
}
export default InfoCommand;
+17
View File
@@ -0,0 +1,17 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
class InfoCommand {
async apply(cli) {
await cli.makeCommand({
name: "info",
alias: "i",
description: "Outputs information about your system.",
usage: "[options]",
pkg: "@webpack-cli/info",
}, cli.getInfoOptions(), async (options) => {
const info = await cli.getInfoOutput(options);
cli.logger.raw(info);
});
}
}
exports.default = InfoCommand;