module Console::Capture

Defined in:

console/capture.cr

Class Method Summary

Class Method Detail

def self.each(command : String, args = nil, *, env : Process::Env? = nil, clear_env : Bool = true, shell : Bool = false, input = CLOSE, error : Bool = false, delimiter : Char | String = '\n', chomp : Bool = true, &block : String -> Nil) : Bool #

[View source]
def self.print(command : String, args = nil, *, env : Process::Env? = nil, clear_env : Bool = true, shell : Bool = false, prefix : String? = " > ", input = CLOSE, error : Bool = false) : Bool #

[View source]
def self.string(command : String, args = nil, *, env : Process::Env? = nil, clear_env : Bool = true, shell : Bool = false, input = CLOSE, error : Bool = false) : Tuple(String?, Bool) #

[View source]
def self.style(string, prefix : String? = " > ") : Nil #

[View source]