class Topia::Task

Overview

Main task orchestrator - now focuses on coordination rather than implementation

Defined in:

topia/task.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(name : String, debug : Bool = false) #

[View source]

Instance Method Detail

def command(command : String) #

[View source]
def depends_on(dependencies : Array(String)) #

[View source]
def depends_on(dependency : String) #

[View source]
def describe(description : String) #

Set task description for better CLI output


[View source]
def description : String | Nil #

[View source]
def description=(description : String | Nil) #

[View source]
def dist(output_path : String) #

[View source]
def name : String #

[View source]
def pipe(plugin : Plugin) #

[View source]
def pipeline : Pipe(Array(InputFile)) | Pipe(String) | Pipe(Bool) | Nil #

[View source]
def pipeline_info : String | Nil #

Get pipeline information for CLI display


[View source]
def run(params : Array(String) = [] of String) #

[View source]
def source_file : String | Nil #

[View source]
def source_line : Int32 | Nil #

[View source]
def spi : Spinner #

[View source]
def src(path : String, mode = "w") #

Load files with the given mode, according to the given path


[View source]
def watch(dir : String, read_sources : Bool = false) #

[View source]