@catladder/cli
Version:
Panter cli tool for cloud CI/CD and DevOps
19 lines (18 loc) • 589 B
JavaScript
;
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.commandStarwars = void 0;
const child_process_promise_1 = require("child-process-promise");
const defineCommand_1 = require("../../core/defineCommand");
exports.commandStarwars = (0, defineCommand_1.defineCommand)({
name: "fun starwars",
description: "Long time ago... in a galaxy far far away...",
group: "fun",
inputs: {},
execute: async () => {
await (0, child_process_promise_1.spawn)("nc", ["towel.blinkenlights.nl", "23"], {
stdio: ["pipe", "inherit", "pipe"]
});
}
});