Add descriptions to commands

This commit is contained in:
Oliver Davies 2019-01-16 00:19:00 +00:00
parent 2b0fbcc6d7
commit b4636b3e08
2 changed files with 2 additions and 2 deletions

View file

@ -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')
; ;
} }

View file

@ -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)
; ;
} }