Sha256: d9e83788a09f2ff86b6fcf41e3bb9c9849daae333a820afee4bfa9a6103ea2e6

Contents?: true

Size: 770 Bytes

Versions: 3

Compression:

Stored size: 770 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

3 entries across 3 versions & 1 rubygems

Version Path
inch-0.5.0.rc3 lib/inch/cli/command/options/console.rb
inch-0.5.0.rc2 lib/inch/cli/command/options/console.rb
inch-0.5.0.rc1 lib/inch/cli/command/options/console.rb