class DeployCR::Command

Included Modules

Defined in:

deploy-cr/command.cr

Constructors

Instance Method Summary

Instance methods inherited from module DeployCR

app_name_by_path app_name_by_path, app_path app_path, tmp_path tmp_path

Class methods inherited from module DeployCR

stderr stderr, stdout stdout

Constructor Detail

def self.new(cmd : String, args : Array(String) = [] of String, output : IO = DeployCR.stdout, chdir : Path = Path[File.join(app_path, tmp_path)], shell : Bool = false) #

[View source]

Instance Method Detail

def args : Array(String) #

[View source]
def args=(args : Array(String)) #

[View source]
def chdir : Path #

[View source]
def chdir=(chdir : Path) #

[View source]
def cmd : String #

[View source]
def cmd=(cmd : String) #

[View source]
def command_with_arguments #

[View source]
def output : IO #

[View source]
def output=(output : IO) #

[View source]
def real_arguments #

[View source]
def real_command #

[View source]
def run #

[View source]
def shell=(shell : Bool) #

[View source]
def shell? : Bool #

[View source]
def ssh? #

[View source]
def status : Process::Status #

def status=(status : Process::Status) #

[View source]
def status? : Process::Status | Nil #

def via_ssh(user, host) #

[View source]