class TandaCLI::Input

Defined in:

tanda_cli/input.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(stdin : IO, display : Display) #

[View source]

Instance Method Detail

def request(message : String, display_type : Display::Type | Nil = nil, sensitive : Bool = false) : String | Nil #

[View source]
def request_and(message : String, display_type : Display::Type | Nil = nil, sensitive : Bool = false, & : String | Nil -> U) : String | U forall U #

[View source]
def request_or(message : String, display_type : Display::Type | Nil = nil, sensitive : Bool = false, & : -> U) : String | U forall U #

[View source]