class DeployCR::Command
- DeployCR::Command
- Reference
- Object
Included Modules
Defined in:
deploy-cr/command.crConstructors
Instance Method Summary
- #args : Array(String)
- #args=(args : Array(String))
- #chdir : Path
- #chdir=(chdir : Path)
- #cmd : String
- #cmd=(cmd : String)
- #command_with_arguments
- #output : IO
- #output=(output : IO)
- #real_arguments
- #real_command
- #run
- #shell=(shell : Bool)
- #shell? : Bool
- #ssh?
- #status : Process::Status
- #status=(status : Process::Status)
- #status? : Process::Status | Nil
- #via_ssh(user, host)
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)
#