UNPKG

@onboardbase/cli

Version:

[![Version](https://img.shields.io/npm/v/@onboardbase/cli.svg)](https://www.npmjs.com/package/@onboardbase/cli) [![Downloads/week](https://img.shields.io/npm/dw/@onboardbase/cli.svg)](https://www.npmjs.com/package/@onboardbase/cli) [![License](https://img

34 lines (33 loc) 1.04 kB
"use strict"; 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, }), };