Add descriptions to commands
This commit is contained in:
parent
2b0fbcc6d7
commit
b4636b3e08
|
@ -28,7 +28,7 @@ class FetchTweetsCommand extends Command
|
||||||
protected function configure()
|
protected function configure()
|
||||||
{
|
{
|
||||||
$this
|
$this
|
||||||
->setDescription('Add a short description for your command')
|
->setDescription('Fetch and store any tweets to be retweeted')
|
||||||
;
|
;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -47,7 +47,7 @@ class RetweetTweetsCommand extends Command
|
||||||
protected function configure()
|
protected function configure()
|
||||||
{
|
{
|
||||||
$this
|
$this
|
||||||
->setDescription('Add a short description for your command')
|
->setDescription('Retweet one or more stored tweets')
|
||||||
->addOption('number', null, InputOption::VALUE_OPTIONAL, 'Specify how many tweets to retweet.', 1)
|
->addOption('number', null, InputOption::VALUE_OPTIONAL, 'Specify how many tweets to retweet.', 1)
|
||||||
;
|
;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue