module Topia
Defined in:
topia.crtopia/command.cr
topia/error.cr
topia/input_file.cr
topia/pipe.cr
topia/plugin.cr
topia/spinner.cr
topia/task.cr
Constant Summary
-
SPINNER =
Spinner.new("Waiting...")
-
VERSION =
"0.1.0"
Class Method Summary
- .debug=(debug)
- .debug?
-
.default(subtask : String)
Adds a default task
-
.default(subtasks : Array(String))
Add multiple default tasks
- .logger
-
.run(name : String, params : Array(String) = [] of String)
Run a task
-
.run(tasks : Array)
Override to run multiple tasks To be used for default tasks.
-
.run_default
Runs the default task(s)
-
.task(name : String, cb)
Overload for creating a task with a callback function that gets executed first
-
.task(name : String)
Creates a new task
Class Method Detail
def self.task(name : String, cb)
#
Overload for creating a task with a callback function that gets executed first