quicksilver-cli
Version:
Cli tool for Quicksilver
30 lines (29 loc) • 956 B
JavaScript
;
var __importStar = (this && this.__importStar) || function (mod) {
if (mod && mod.__esModule) return mod;
var result = {};
if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];
result["default"] = mod;
return result;
};
Object.defineProperty(exports, "__esModule", { value: true });
const command_1 = require("./command");
const HelpUtil = __importStar(require("../util/help"));
class TestCommand extends command_1.Command {
constructor(workspace, params) {
super(workspace, params);
this.supportCache = false;
}
async run() {
this.printSomething();
}
printSomething() {
const message = "Just a test";
HelpUtil.print(message);
}
}
TestCommand.NAME = "test";
TestCommand.ALIAS = ["t"];
TestCommand.FIELDS = [];
TestCommand.DESCRIPTION = "Just a test.";
exports.TestCommand = TestCommand;