mirror of
https://github.com/shlinkio/shlink.git
synced 2026-02-28 04:03:12 +08:00
Update changelog
This commit is contained in:
@@ -31,7 +31,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com), and this
|
||||
* [#2472](https://github.com/shlinkio/shlink/issues/2472) Add support for PHP 8.5
|
||||
|
||||
### Changed
|
||||
* *Nothing*
|
||||
* [#2424](https://github.com/shlinkio/shlink/issues/2424) Make simple console commands invokable.
|
||||
|
||||
### Deprecated
|
||||
* *Nothing*
|
||||
|
||||
@@ -12,7 +12,7 @@ use Symfony\Component\Console\Style\SymfonyStyle;
|
||||
|
||||
#[AsCommand(
|
||||
name: InitialApiKeyCommand::NAME,
|
||||
description: 'Tries to create initial API key'
|
||||
description: 'Tries to create initial API key',
|
||||
)]
|
||||
class InitialApiKeyCommand extends Command
|
||||
{
|
||||
@@ -25,7 +25,7 @@ class InitialApiKeyCommand extends Command
|
||||
|
||||
public function __invoke(
|
||||
SymfonyStyle $io,
|
||||
#[Argument('The initial API to create')] string $apiKey
|
||||
#[Argument('The initial API to create')] string $apiKey,
|
||||
): int {
|
||||
$result = $this->apiKeyService->createInitial($apiKey);
|
||||
|
||||
|
||||
@@ -41,7 +41,7 @@ use function sprintf;
|
||||
|
||||
Send all visits created during 2022:
|
||||
<info>%command.name% --since 2022-01-01 --until 2022-12-31</info>
|
||||
HELP
|
||||
HELP,
|
||||
)]
|
||||
class MatomoSendVisitsCommand extends Command implements VisitSendingProgressTrackerInterface
|
||||
{
|
||||
|
||||
@@ -21,11 +21,11 @@ class DeleteTagsCommand extends Command
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string[] $tags
|
||||
* @param string[] $tagNames
|
||||
*/
|
||||
public function __invoke(
|
||||
SymfonyStyle $io,
|
||||
#[Option('The name of the tags to delete', name: 'name', shortcut: 't')] array $tagNames = []
|
||||
#[Option('The name of the tags to delete', name: 'name', shortcut: 't')] array $tagNames = [],
|
||||
): int {
|
||||
if (empty($tagNames)) {
|
||||
$io->warning('You have to provide at least one tag name');
|
||||
|
||||
Reference in New Issue
Block a user