abstract class Barista::Behaviors::Software::Commands::Base
- Barista::Behaviors::Software::Commands::Base
- Reference
- Object
Included Modules
Direct Known Subclasses
- Barista::Behaviors::Software::Commands::Block
- Barista::Behaviors::Software::Commands::Command
- Barista::Behaviors::Software::Commands::Copy
- Barista::Behaviors::Software::Commands::Emit
- Barista::Behaviors::Software::Commands::Link
- Barista::Behaviors::Software::Commands::Mkdir
- Barista::Behaviors::Software::Commands::Patch
- Barista::Behaviors::Software::Commands::Sync
- Barista::Behaviors::Software::Commands::Template
Defined in:
barista/behaviors/software/commands/base.crInstance Method Summary
-
#description : String
A unique string representing this command
-
#execute
executes the command
Instance methods inherited from module Barista::Behaviors::Software::Emittable
collect_error(arr : Array(String))
collect_error,
collect_output(arr : Array(String))
collect_output,
forward_error(&block : String -> )
forward_error,
forward_output(&block : String -> )
forward_output,
on_erroron_error(&block : String -> Nil) on_error, on_output
on_output(&block : String -> Nil) on_output
Instance Method Detail
abstract
def description : String
#
A unique string representing this command
used to calculate the shasum for the builder
abstract
def execute
#
executes the command
takes the name of the task, a BuildMeta
for logging, and an optional file handle for logging.