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

28 lines (27 loc) 903 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); const command_1 = require("@oclif/command"); const sub_commands_1 = require("../../services/secrets/sub-commands"); const common_1 = require("../../common"); class UpdateSecret extends common_1.BaseCommand { getService(configManager) { return new sub_commands_1.SecretsUpdateService(configManager); } getArgsAndFlags() { return this.parse(UpdateSecret); } } exports.default = UpdateSecret; UpdateSecret.description = "Update secrets on Onboardbase"; UpdateSecret.flags = { help: command_1.flags.help({ char: "h" }), project: command_1.flags.string({ char: "p", description: "name of project", }), environment: command_1.flags.string({ char: "e", description: "Environment to run by default", }), }; UpdateSecret.args = [{ name: "secrets" }];