Skip to content

class Barista::Behaviors::Software::Commands::Command
inherits Barista::Behaviors::Software::Commands::Base #

Constructors#

.new(command : String, *, chdir : String | Nil = nil, env : Hash(String, String) | Nil = nil)#

Methods#

#chdir#

#command#

#description : String#

A unique string representing this command

used to calculate the shasum for the builder

#env#

#execute#

executes the command

takes the name of the task, a BuildMeta for logging, and an optional file handle for logging.