Module: Biscuit
- Defined in:
- lib/biscuit.rb,
lib/biscuit/version.rb,
lib/biscuit/execution_error.rb,
lib/biscuit/secrets_decrypter.rb
Defined Under Namespace
Classes: ExecutionError, SecretsDecrypter
Constant Summary collapse
- VERSION =
"0.2.0"
Class Method Summary collapse
Class Method Details
.run!(command) ⇒ Object
9 10 11 12 13 |
# File 'lib/biscuit.rb', line 9 def self.run!(command) stdout, stderr, status = Open3.capture3("#{__dir__}/../bin/_biscuit #{command}") raise Biscuit::ExecutionError.new(stderr, stdout) unless status == 0 stdout end |