module Kommando

Defined in:

kommando.cr
kommando/cli.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}
FALSE_VALUES = ["false", "no"] of ::String
ROOT = (Path.new("/srv/crystaldoc.info/github-Ragmaanir-kommando-v0.1.2/src")).parent
TRUE_VALUES = ["true", "yes"] of ::String
VERSION = {{ (`shards version /srv/crystaldoc.info/github-Ragmaanir-kommando-v0.1.2/src/kommando`).strip.stringify }}

Class Method Summary

Class Method Detail

def self.bug(msg : String) #

[View source]