$checklist = new ConsoleKit\Widgets\Checklist($console);
$checklist->run(array(
'Creating directory structure' => function() {
code
return $success; // bool
},
'Downloading scripts' => function() {
code
return $success; // bool
}
));
Will print:
Creating directory structure OK
Downloading scripts OK