module

Kommando

Constants

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("/tmp/tmp.ijHIHA/src/src")).parent
TRUE_VALUES = ["true", "yes"] of ::String
VERSION = {{ (`shards version /tmp/tmp.ijHIHA/src/src/kommando`).strip.stringify }}
WHITE = RGB.new(255, 255, 255)
YELLOW = RGB.new(220, 220, 0)

Class methods

bug(msg : String)
Source

Nested types