You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Sep 5, 2020. It is now read-only.
Wanted to follow up for anyone having similar issues. This is very possible.
All you have to do is create a custom command which extends BaseTaskCommand and override the getOptions child function.
To get your newly created command class to autoload, simply place your code in one of the autoloaded folders such as 'strategies' or 'tasks'.
I know this comment is very broad, so check out how Anahkiasen handles extending the 'deploy' command here.
You can see he has a class doing what I just described above. @Anahkiasen you really need some documenation on this. I love this library but to use it as a task runner the ability to have rocketeer as an extension of my libraries is really helpful.
For the short term just simply autoloading a 'commands' directory if it exists would be great!
So I've created a custom task, however, when trying to call
$this->getOption('start_date');
I get the errorLooking at the migration tasks and others. It seems custom options can be passed through?
The text was updated successfully, but these errors were encountered: