struct Command

Defined in:

command.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(command : String, args : Enumerable(String) = [] of String, shell : Bool = false) #

[View source]
def self.parse(shell_command : String) : self #

[View source]

Instance Method Detail

def add_arg(value : String) : self #

[View source]
def args : Enumerable(String) #

def clone #

[View source]
def command : String #

def copy_with(command _command = @command, args _args = @args, shell _shell = @shell) #

[View source]
def quote : String #

[View source]
def shell : Bool #