module Byebug::Subcommands
def self.included(command)
def self.included(command) command.extend(ClassMethods) end
def execute
Delegates to subcommands or prints help if no subcommand specified.
def execute subcmd_name = @match[1] return puts(help) unless subcmd_name subcmd = subcommand_list.match(subcmd_name) raise CommandNotFound.new(subcmd_name, self.class) unless subcmd subcmd.new(processor, arguments).execute end