Rename short-url:delete-visits to short-url:visits-delete for consistency with other commands

This commit is contained in:
Alejandro Celaya 2023-05-18 09:19:01 +02:00
parent 3916c68126
commit 7f02243c6c
2 changed files with 2 additions and 2 deletions

View File

@ -8,7 +8,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com), and this
### Added
* [#1148](https://github.com/shlinkio/shlink/issues/1148) Add support to delete short URL visits.
This can be done via `DELETE /short-urls/{shortCode}/visits` REST endpoint or via `short-url:delete-visits` console command.
This can be done via `DELETE /short-urls/{shortCode}/visits` REST endpoint or via `short-url:visits-delete` console command.
The CLI command includes a warning and requires the user to confirm before proceeding.

View File

@ -19,7 +19,7 @@ use function sprintf;
class DeleteShortUrlVisitsCommand extends Command
{
public const NAME = 'short-url:delete-visits';
public const NAME = 'short-url:visits-delete';
public function __construct(private readonly ShortUrlVisitsDeleterInterface $deleter)
{