Class: Shhh::App::Args

Inherits:
Struct
  • Object
show all
Defined in:
lib/shhh/app/args.rb

Constant Summary collapse

MODE =
encrypt decrypt generate edit keychain
KEY =
private_key interactive keyfile keychain

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#optsObject

Returns the value of attribute opts


3
4
5
# File 'lib/shhh/app/args.rb', line 3

def opts
  @opts
end

Instance Method Details

#key?Boolean


8
# File 'lib/shhh/app/args.rb', line 8

def key?; is KEY; end

#mode?Boolean


7
# File 'lib/shhh/app/args.rb', line 7

def mode?; is MODE; end