Class: Eon::CLI
- Inherits:
-
Thor
- Object
- Thor
- Eon::CLI
- Defined in:
- lib/eon/eon.rb
Class Method Summary collapse
Instance Method Summary collapse
Class Method Details
.exit_on_failure? ⇒ Boolean
8 9 10 |
# File 'lib/eon/eon.rb', line 8 def self.exit_on_failure? true end |
Instance Method Details
#decrypt(target, destination) ⇒ Object
23 24 25 |
# File 'lib/eon/eon.rb', line 23 def decrypt(target, destination) Eon.decrypt_file(target, destination) end |
#encrypt(target, destination) ⇒ Object
18 19 20 |
# File 'lib/eon/eon.rb', line 18 def encrypt(target, destination) Eon.encrypt_file(target, destination) end |