Sha256: 4d0e3d7e3c889c4400102b3ad4ddbd7aae8671eaedbda1c6d3f4b863d696fa65

Contents?: true

Size: 1.01 KB

Versions: 6

Compression:

Stored size: 1.01 KB

Contents

require 'cri/version'

# The namespace for Cri, a library for building easy-to-use command-line tools
# with support for nested commands.
module Cri
  # A generic error class for all Cri-specific errors.
  class Error < ::StandardError
  end

  # Error that will be raised when an implementation for a method or command
  # is missing. For commands, this may mean that a run block is missing.
  class NotImplementedError < Error
  end

  # Error that will be raised when no help is available because the help
  # command has no supercommand for which to show help.
  class NoHelpAvailableError < Error
  end

  autoload 'Command',           'cri/command'
  autoload 'StringFormatter',   'cri/string_formatter'
  autoload 'CommandDSL',        'cri/command_dsl'
  autoload 'CommandRunner',     'cri/command_runner'
  autoload 'HelpRenderer',      'cri/help_renderer'
  autoload 'OptionParser',      'cri/option_parser'
  autoload 'Platform',          'cri/platform'
end

require 'set'

require 'cri/core_ext'
require 'cri/argument_array'

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
cri-2.10.1 lib/cri.rb
cri-2.10.0 lib/cri.rb
cri-2.9.1 lib/cri.rb
cri-2.9.0 lib/cri.rb
cri-2.8.0 lib/cri.rb
cri-2.7.1 lib/cri.rb