UNPKG

@aminya/dotenv-vault

Version:

A secrets manager for .env files – from the same people that pioneered dotenv.

25 lines (24 loc) 896 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); const core_1 = require("@oclif/core"); const keys_service_1 = require("../../services/local/keys-service"); class LocalKeys extends core_1.Command { async run() { const { args } = await this.parse(LocalKeys); const environment = args.environment; await new keys_service_1.LocalKeysService({ cmd: this, environment: environment }).run(); } } exports.default = LocalKeys; LocalKeys.description = '[DEPRECATED][Switch to dotenvx: github.com/dotenvx/dotenvx] List .env.vault local decryption keys from .env.keys file'; LocalKeys.examples = [ '<%= config.bin %> <%= command.id %>', ]; LocalKeys.args = [ { name: 'environment', required: false, description: 'Set environment to fetch key(s) from. Defaults to all environments', hidden: false, }, ];