Class Pry::CLI
In: lib/pry/cli.rb
Parent: Object

Manage the processing of command line options

Methods

Constants

NoOptionsError = Class.new(StandardError)

Attributes

input_args  [RW]  @return [Array<String>] The input array of strings to process
  as CLI options.
option_processors  [RW]  @return [Array] The Procs that process the parsed options.
options  [RW]  @return [Proc] The Proc defining the valid command line options.

Public Class methods

Add another set of CLI options (a Slop block)

Bring in options defined in plugins

Add a block responsible for processing parsed options.

Clear `options` and `option_processors`

[Validate]