class Byebug::ThreadListCommand

def description

def description
  %{
    th[read] l[ist]\t\t\tlist all threads
  }
end

def execute

def execute
  Byebug.contexts.sort_by(&:thnum).each { |c| display_context(c) }
end

def names

def names
  %w(thread)
end

def regexp

def regexp
  /^\s* th(?:read)? \s+ l(?:ist)? \s*$/x
end