module Topia

Defined in:

topia.cr
topia/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

Class Method Detail

def self.debug=(debug) #

[View source]
def self.debug? #

[View source]
def self.default(subtask : String) #

Adds a default task


[View source]
def self.default(subtasks : Array(String)) #

Add multiple default tasks


[View source]
def self.logger #

[View source]
def self.run(name : String, params : Array(String) = [] of String) #

Run a task


[View source]
def self.run(tasks : Array) #

Override to run multiple tasks To be used for default tasks.


[View source]
def self.run_default #

Runs the default task(s)


[View source]
def self.task(name : String, cb) #

Overload for creating a task with a callback function that gets executed first


[View source]
def self.task(name : String) #

Creates a new task


[View source]