added help:commands task to artisan

This commit is contained in:
Shawn McCool
2012-07-12 00:30:04 +02:00
parent 1503aed7ce
commit 29b668b83d
3 changed files with 125 additions and 0 deletions

View File

@@ -125,4 +125,16 @@ if(! IoC::registered('bundle.provider: github'))
{
return new Tasks\Bundle\Providers\Github;
});
}
/**
* The "help" task provides information about
* artisan usage.
*/
if(! IoC::registered('task: help'))
{
IoC::singleton('task: help', function()
{
return new Tasks\Help;
});
}