Sha256: 2ba34f480be2dceedc7b91f41915131b2f0a2f71a756d8192d654713794a62a4
Contents?: true
Size: 1.02 KB
Versions: 4
Compression:
Stored size: 1.02 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 'colored' 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
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
cri-2.15.3 | lib/cri.rb |
cri-2.15.2 | lib/cri.rb |
cri-2.15.1 | lib/cri.rb |
cri-2.15.0 | lib/cri.rb |