Sha256: 4bd29efa31d5ae2936f925e33bbbc5c447c105402cb03b7fe7724fa33e6e4d49

Contents?: true

Size: 786 Bytes

Versions: 1

Compression:

Stored size: 786 Bytes

Contents

# encoding: utf-8

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

  # The current Cri version.
  VERSION = '2.2.1'

  autoload 'Command',           'cri/command'
  autoload 'CommandDSL',        'cri/command_dsl'
  autoload 'CommandRunner',     'cri/command_runner'
  autoload 'OptionParser',      'cri/option_parser'

end

require 'set'

require 'cri/core_ext'

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
cri-2.2.1 lib/cri.rb