Sha256: 05cd4650eaafe2227ef566107f4a2e9262d9cc15ce05daa785ae92b7f7eda39f
Contents?: true
Size: 527 Bytes
Versions: 1
Compression:
Stored size: 527 Bytes
Contents
#!/usr/bin/env ruby require "thor" require "eon" module Eon class CLI < Thor def self.exit_on_failure? true end desc "generate", "Creats a new AES Key" def generate Eon.generate end desc "encrypt", "Encrypts with an eon_aes.key" def encrypt(target, destination) Eon.encrypt_file(target, destination) end desc "decrypt", "Decrypts with an eon_aes.key" def decrypt(target, destination) Eon.decrypt_file(target, destination) end end end Eon::CLI.start
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
eon_crypt-0.1.0 | lib/eon/eon.rb |