UNPKG

@aminya/dotenv-vault

Version:

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

26 lines (25 loc) 802 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); const core_1 = require("@oclif/core"); const status_service_1 = require("../services/status-service"); class Status extends core_1.Command { async run() { const { flags } = await this.parse(Status); const yes = flags.yes; await new status_service_1.StatusService({ cmd: this, yes: yes }).run(); } } exports.default = Status; Status.description = 'Check dotenv.org status'; Status.examples = [ '<%= config.bin %> <%= command.id %>', ]; Status.flags = { yes: core_1.Flags.boolean({ char: 'y', description: 'Automatic yes to prompts. Assume yes to all prompts and run non-interactively.', hidden: false, required: false, default: false, }), };