abstract class Barista::Behaviors::Software::Commands::Base

Included Modules

Direct Known Subclasses

Defined in:

barista/behaviors/software/commands/base.cr

Instance Method Summary

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_error
on_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


[View source]
abstract def execute #

executes the command

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


[View source]