pr-view
Version:
Preview deployments for your pull requests
20 lines • 665 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
const commands_1 = require("../packages/pr-view/src/commands");
require("yargs")
.scriptName("pr-view")
.usage("$0 <cmd> [args]")
.command("configure", "set up pr-view configuration", function (argv) {
commands_1.configure();
})
.command("deploy", "create a preview deployment", function (argv) {
commands_1.deploy();
})
.command("cleanup [branch-name]", "clean up preview deployment", function (argv) {
commands_1.cleanup();
})
.help("h")
.alias("h", "help")
.alias("v", "version").argv;
//# sourceMappingURL=pr-view.js.map