index.js 537 B

1234567891011121314151617
  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;