Update the default command
This commit is contained in:
parent
dca7125df1
commit
5f79f6b497
|
@ -4,8 +4,8 @@ A Symfony console application used by the [PHP South Wales user group](https://w
|
|||
|
||||
## Usage
|
||||
|
||||
Run the `app:get-raffle-winner` command to retrieve the 'yes' RSVPs from Meetup for an event, and select a winner at random. The only argument is the Meetup event ID, which is required.
|
||||
Run the `meetup:pick-winner` command to retrieve the 'yes' RSVPs from Meetup for an event, and select a winner at random. The only argument is the Meetup event ID, which is required.
|
||||
|
||||
./bin/console app:get-raffle-winner <event_id>
|
||||
./bin/console meetup:pick-winner <event_id>
|
||||
|
||||
RSVPs by event hosts (i.e. organisers) are automatically removed so that they are not returned.
|
||||
|
|
|
@ -20,7 +20,7 @@ use Symfony\Contracts\HttpClient\HttpClientInterface;
|
|||
final class GetRaffleWinnerCommand extends Command
|
||||
{
|
||||
|
||||
protected static $defaultName = 'app:get-raffle-winner';
|
||||
protected static $defaultName = 'meetup:pick-winner';
|
||||
|
||||
private HttpClientInterface $client;
|
||||
|
||||
|
|
Loading…
Reference in a new issue