class Rbnotes::Commands::Help
Shows help message for the command which specifies with the argument.
Public Instance Methods
execute(["add"], Rbnotes::Conf or Hash) → nil
click to toggle source
execute(["delete"], Rbnotes::Conf or Hash) → nil
# File lib/rbnotes/commands/help.rb, line 18 def execute(args, conf) cmd_name = args.shift case cmd_name when nil self.help else Commands.load(cmd_name).help end end