diff options
Diffstat (limited to 'lib/keyringer/actions/decrypt.rb')
-rw-r--r-- | lib/keyringer/actions/decrypt.rb | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/lib/keyringer/actions/decrypt.rb b/lib/keyringer/actions/decrypt.rb new file mode 100644 index 0000000..8fdd175 --- /dev/null +++ b/lib/keyringer/actions/decrypt.rb @@ -0,0 +1,12 @@ +module Keyringer + module Actions + class Decrypt + def execute + filename = $args[0] + crypt = Keyring::Crypt.new + output = crypt.decrypt(filename) + return output + end + end + end +end |