module Kommando

Defined in:

kommando.cr
kommando/cli.cr
kommando/colors.cr
kommando/command.cr
kommando/docker.cr
kommando/errors.cr
kommando/interaction.cr
kommando/namespace.cr
kommando/parser.cr
kommando/version.cr

Constant Summary

ARG_PARSERS = {Int32: ->(s : String) do Int32.new(s) end, String: ->(s : String) do s end, Bool: ->(s : String) do case s.downcase when .in?(TRUE_VALUES) true when .in?(FALSE_VALUES) false else raise(ArgumentError.new("Expected one of #{TRUE_VALUES + FALSE_VALUES}")) end end}
CYAN = RGB.new(0, 205, 205)
DARK_GRAY = RGB.new(100, 100, 100)
FALSE_VALUES = ["false", "no"] of ::String
GREEN = RGB.new(0, 220, 0)
LIGHT_BLUE = RGB.new(90, 90, 250)
LIGHT_GRAY = RGB.new(200, 200, 200)
LIGHT_MAGENTA = RGB.new(220, 0, 220)
MAGENTA = RGB.new(205, 0, 205)
RED = RGB.new(220, 0, 0)
ROOT = (Path.new("/srv/crystaldoc.info/github-Ragmaanir-kommando-v0.1.3/src")).parent
TRUE_VALUES = ["true", "yes"] of ::String
VERSION = {{ (`shards version /srv/crystaldoc.info/github-Ragmaanir-kommando-v0.1.3/src/kommando`).strip.stringify }}
WHITE = RGB.new(255, 255, 255)
YELLOW = RGB.new(220, 220, 0)

Class Method Summary

Class Method Detail

def self.bug(msg : String) #

[View source]