class
Topia::Task
- Topia::Task
- Reference
- Object
Overview
Main task orchestrator - now focuses on coordination rather than implementation
Defined in:
topia/task.crConstructors
Instance Method Summary
- #command(command : String)
- #depends_on(dependencies : Array(String))
- #depends_on(dependency : String)
-
#describe(description : String)
Set task description for better CLI output
- #description : String | Nil
- #description=(description : String | Nil)
- #dist(output_path : String)
- #name : String
- #pipe(plugin : Plugin)
- #pipeline : Pipe(Array(InputFile)) | Pipe(String) | Pipe(Bool) | Nil
-
#pipeline_info : String | Nil
Get pipeline information for CLI display
- #run(params : Array(String) = [] of String)
- #source_file : String | Nil
- #source_line : Int32 | Nil
- #spi : Spinner
-
#src(path : String, mode = "w")
Load files with the given mode, according to the given path
- #watch(dir : String, read_sources : Bool = false)