Class: Keyrod::CLI

Inherits:
Thor
  • Object
show all
Defined in:
lib/keyrod/cli.rb

Instance Method Summary collapse

Instance Method Details

#tokenObject



76
77
78
79
80
81
82
83
# File 'lib/keyrod/cli.rb', line 76

def token
  merge_config options
  validate_config options
  init_logger
  process_tokens
rescue Keyrod::Errors::ParamsError => e
  abort e.message
end

#versionObject



86
87
88
# File 'lib/keyrod/cli.rb', line 86

def version
  $stdout.puts Keyrod::VERSION
end