Sha256: 05e581b0b11a13b05fe142061f8307066a453781bf2ce19ccddbc72db0d1d401

Contents?: true

Size: 800 Bytes

Versions: 6

Compression:

Stored size: 800 Bytes

Contents

module Inch
  module CLI
    module Command
      module Options
        class Console < BaseObject
          def descriptions
            [
              "",
              "Provides a PRY based REPL to inspect objects.",
              "",
              "Example: " +
                "$ inch console lib/**/*.rb Foo::Bar#initialize".color(:cyan),
              "",
              "Shortcut commands on the prompt are:",
              "",
              "all".ljust(5) + " returns all code objects",
              "f".ljust(5) + " finds an object by its path",
              "ff".ljust(5) + " finds all objects given a partial path",
              "o".ljust(5) +
                " returns the code object for OBJECT_NAME (if present)"
            ]
          end
        end
      end
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
inch-0.5.0.rc5 lib/inch/cli/command/options/console.rb
inch-0.5.0.rc4 lib/inch/cli/command/options/console.rb
inch-0.4.10 lib/inch/cli/command/options/console.rb
inch-0.4.9 lib/inch/cli/command/options/console.rb
inch-0.4.8 lib/inch/cli/command/options/console.rb
inch-0.4.7 lib/inch/cli/command/options/console.rb