module CFnDK::SubcommandHelpReturnable::ClassMethods

Public Instance Methods

subcommand_help(cmd) click to toggle source
# File lib/cfndk/subcommand_help_returnable.rb, line 4
    def subcommand_help(cmd)
      desc 'help [COMMAND]', 'Describe subcommands or one specific subcommand'
      class_eval "
        def help(command = nil, subcommand = true); super; return 2; end
"
    end