Sha256: 5ce802b520ac5a43de62d23c1132279ce288afbb586a54a7163830fbb3ee891c

Contents?: true

Size: 762 Bytes

Versions: 22

Compression:

Stored size: 762 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".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

22 entries across 22 versions & 1 rubygems

Version Path
inch-0.1.1 lib/inch/cli/command/options/console.rb
inch-0.1.0 lib/inch/cli/command/options/console.rb