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

27 lines (26 loc) 866 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); const command_1 = require("@oclif/command"); const common_1 = require("../common"); const share_service_1 = require("../services/share.service"); // Fetch all team mates attached to a project // Select a team mate's email // Select the secret to share // Send a socket notification to the userId class Share extends common_1.BaseCommand { getService(configManager) { return new share_service_1.ShareCommandService(configManager); } getArgsAndFlags() { return this.parse(Share); } } exports.default = Share; Share.description = "Share your local .onboardbase.yaml secrets with a teammate"; Share.flags = { help: command_1.flags.help({ char: "h" }), project: command_1.flags.string({ char: "p", description: "Project name", }), };