Class: Clitopic::Command::Suggestions

Inherits:
Base
  • Object
show all
Defined in:
lib/clitopic/command/clito.rb

Class Method Summary collapse

Methods inherited from Base

cmd_options, fullname, load_defaults, load_options, option, register, topic, topic_options

Methods included from Parser::OptParser

#check_all_required, #check_required, #help, #parse, #parser, #process_options

Class Method Details

.callObject



19
20
21
# File 'lib/clitopic/command/clito.rb', line 19

def self.call
  puts Clitopic::Helpers.suggestion(@arguments[0], Clitopic::Commands.all_commands)
end