Sha256: 6ad71e1856592df9a5b24171670257caa400f59ba2f80520b2861cab762111ee
Contents?: true
Size: 322 Bytes
Versions: 3
Compression:
Stored size: 322 Bytes
Contents
require_relative 'command' module Shhh module App module Commands class ShowHelp < Command required_options :help, ->(opts) { opts.keys.all? { |k| !opts[k] } } try_after :generate_key, :open_editor, :encrypt_decrypt def run opts.to_s end end end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
shhh-1.4.1 | lib/shhh/app/commands/show_help.rb |
shhh-1.4.0 | lib/shhh/app/commands/show_help.rb |
shhh-1.3.0 | lib/shhh/app/commands/show_help.rb |