@onboardbase/cli
Version:
[](https://www.npmjs.com/package/@onboardbase/cli) [](https://www.npmjs.com/package/@onboardbase/cli) [ • 1.04 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
const command_1 = require("@oclif/command");
const setup_service_1 = require("../services/setup.service");
const common_1 = require("../common");
class SetupCommand extends common_1.BaseCommand {
constructor() {
super(...arguments);
this.haltOnConfigError = false;
}
getService(configManager) {
return new setup_service_1.SetupCommandService(configManager);
}
getArgsAndFlags() {
return this.parse(SetupCommand);
}
}
exports.default = SetupCommand;
SetupCommand.description = "Setup the Onboardbase CLI for managing secrets";
SetupCommand.flags = {
project: command_1.flags.string({
char: "p",
description: "name of project",
}),
environment: command_1.flags.string({
char: "e",
description: "Environment to run by default",
}),
"start-script": command_1.flags.string({
description: "Your project start command",
required: false,
}),
};