Sha256: 043110928d22378b024b94de0fdf88e565ca16b1765a5df3e3dbd750c5469235

Contents?: true

Size: 1 KB

Versions: 9

Compression:

Stored size: 1 KB

Contents

# frozen_string_literal: true

# 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
end

require 'set'

require_relative 'cri/version'
require_relative 'cri/argument_list'
require_relative 'cri/command'
require_relative 'cri/string_formatter'
require_relative 'cri/command_dsl'
require_relative 'cri/command_runner'
require_relative 'cri/help_renderer'
require_relative 'cri/option_definition'
require_relative 'cri/parser'
require_relative 'cri/param_definition'
require_relative 'cri/platform'

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
cri-2.15.12 lib/cri.rb
cri-2.15.11 lib/cri.rb
cri-2.15.10 lib/cri.rb
cri-2.15.9 lib/cri.rb
cri-2.15.8 lib/cri.rb
cri-2.15.7 lib/cri.rb
cri-2.15.6 lib/cri.rb
cri-2.15.5 lib/cri.rb
cri-2.15.4 lib/cri.rb