Sha256: 387f81039cca7ce625e3a8f4686d977652979221d6c8287d8896c878ca8da971
Contents?: true
Size: 698 Bytes
Versions: 1
Compression:
Stored size: 698 Bytes
Contents
module SecretsCli module Vault class Base include SecretsCli::Helpers attr_reader :options def initialize(options) @options = options end def call print_verbose(command) if config.verbose Open3.popen2e(command) do |_stdin, stdout_and_stderr, wait_thr| if wait_thr.value.success? prompt.ok(stdout_and_stderr.read) else prompt.error(stdout_and_stderr.read) end end end private def command fail NotImplementedError end def secrets_full_storage_key File.join(secrets_storage_key, config.environment) end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
secrets_cli-0.3.0 | lib/secrets_cli/vault/base.rb |