class Gtmtech::Crypto::Subcommands::Help

Public Class Methods

description() click to toggle source
# File lib/gtmtech/crypto/subcommands/help.rb, line 33
def self.description
  "print help message"
end
execute() click to toggle source
# File lib/gtmtech/crypto/subcommands/help.rb, line 15
        def self.execute
          puts <<-EOS
Welcome to gtmtech-crypto #{Gtmtech::Crypto::VERSION} 

Usage:
crypto <subcommand> ... [global-opts] [subcommand-opts]

Available subcommands:
#{Gtmtech::Crypto::CLI.subcommands.collect {|command|
  command_class = Gtmtech::Crypto::Subcommands.const_get(Utils.camelcase command)
  sprintf "%15s: %-65s", command.downcase, command_class.description unless command_class.hidden?
}.compact.join("\n")}

For more help on an individual command, use --help on that command

EOS
        end
options() click to toggle source
# File lib/gtmtech/crypto/subcommands/help.rb, line 11
def self.options
  []
end