module CNFManager::Task

Defined in:

tasks/utils/task.cr

Constant Summary

CRITICAL_FAILURE = 2
FAILURE = 1

Class Method Summary

Class Method Detail

def self.all_cnfs_task_runner(args, task : Sam::Task | Nil = nil, &block : Sam::Args, CNFInstall::Config::Config -> String | Colorize::Object(String) | CNFManager::TestcaseResult | Nil) #

TODO give example for calling


[View source]
def self.ensure_cnf_installed! #

[View source]
def self.single_task_runner(args, task : Sam::Task | Nil = nil, &block : Sam::Args, CNFInstall::Config::Config -> String | Colorize::Object(String) | CNFManager::TestcaseResult | Nil) #

TODO give example for calling


[View source]
def self.task_runner(args, task : Sam::Task | Nil = nil, check_cnf_installed = true, &block : Sam::Args, CNFInstall::Config::Config -> String | Colorize::Object(String) | CNFManager::TestcaseResult | Nil) #

[View source]