Sha256: d4cc90f2c1caeeb0f4644bfbf7d68c45cca3dc4aaeae335f8c2e39f631dbd837

Contents?: true

Size: 797 Bytes

Versions: 4

Compression:

Stored size: 797 Bytes

Contents

# -*- coding: utf-8 -*-
# Copyright (C) 2010 Rocky Bernstein <rockyb@rubyforge.net>
require_relative 'base/submgr'

class Trepan::Command::ShowCommand < Trepan::SubcommandMgr
  unless defined?(HELP)
    NAME = File.basename(__FILE__, '.rb')
    HELP = <<-HELP
'Generic command for showing things about the debugger.  You can
give unique prefix of the name of a subcommand to get information
about just that subcommand.

Type "#{NAME}" for a list of "#{NAME}" subcommands and what they do.
Type "help #{NAME} *" for just a list of "#{NAME}" subcommands.
    HELP

    CATEGORY      = 'status'
    NEED_STACK    = false
    SHORT_HELP    = 'Show parts of the debugger environment'
  end
end

if __FILE__ == $0
  require_relative '../mock'
  dbgr, cmd = MockDebugger::setup
  cmd.run([cmd.name])
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
trepanning-0.1.0 processor/command/show.rb
trepanning-0.0.9 processor/command/show.rb
trepanning-0.0.8 processor/command/show.rb
trepanning-0.0.6 processor/command/show.rb