2016-07-05 16:25:39 -05:00
|
|
|
<?php
|
2019-10-05 10:26:10 -05:00
|
|
|
|
2017-10-12 03:13:20 -05:00
|
|
|
declare(strict_types=1);
|
|
|
|
|
2018-09-29 02:52:32 -05:00
|
|
|
namespace Shlinkio\Shlink\CLI;
|
|
|
|
|
2016-07-05 16:25:39 -05:00
|
|
|
return [
|
|
|
|
|
|
|
|
'cli' => [
|
|
|
|
'commands' => [
|
2021-12-09 02:45:15 -06:00
|
|
|
Command\ShortUrl\CreateShortUrlCommand::NAME => Command\ShortUrl\CreateShortUrlCommand::class,
|
2024-07-25 17:01:40 -05:00
|
|
|
Command\ShortUrl\EditShortUrlCommand::NAME => Command\ShortUrl\EditShortUrlCommand::class,
|
2018-09-16 11:36:02 -05:00
|
|
|
Command\ShortUrl\ResolveUrlCommand::NAME => Command\ShortUrl\ResolveUrlCommand::class,
|
|
|
|
Command\ShortUrl\ListShortUrlsCommand::NAME => Command\ShortUrl\ListShortUrlsCommand::class,
|
2022-05-23 13:47:37 -05:00
|
|
|
Command\ShortUrl\GetShortUrlVisitsCommand::NAME => Command\ShortUrl\GetShortUrlVisitsCommand::class,
|
2018-09-16 11:36:02 -05:00
|
|
|
Command\ShortUrl\DeleteShortUrlCommand::NAME => Command\ShortUrl\DeleteShortUrlCommand::class,
|
2023-05-15 02:43:05 -05:00
|
|
|
Command\ShortUrl\DeleteShortUrlVisitsCommand::NAME => Command\ShortUrl\DeleteShortUrlVisitsCommand::class,
|
2024-04-03 11:57:09 -05:00
|
|
|
Command\ShortUrl\DeleteExpiredShortUrlsCommand::NAME =>
|
|
|
|
Command\ShortUrl\DeleteExpiredShortUrlsCommand::class,
|
2017-12-27 08:37:26 -06:00
|
|
|
|
2019-04-14 02:10:00 -05:00
|
|
|
Command\Visit\LocateVisitsCommand::NAME => Command\Visit\LocateVisitsCommand::class,
|
2021-04-08 06:12:37 -05:00
|
|
|
Command\Visit\DownloadGeoLiteDbCommand::NAME => Command\Visit\DownloadGeoLiteDbCommand::class,
|
2022-05-22 12:34:08 -05:00
|
|
|
Command\Visit\GetOrphanVisitsCommand::NAME => Command\Visit\GetOrphanVisitsCommand::class,
|
2023-05-18 02:35:42 -05:00
|
|
|
Command\Visit\DeleteOrphanVisitsCommand::NAME => Command\Visit\DeleteOrphanVisitsCommand::class,
|
2022-05-22 12:34:08 -05:00
|
|
|
Command\Visit\GetNonOrphanVisitsCommand::NAME => Command\Visit\GetNonOrphanVisitsCommand::class,
|
2017-12-27 08:37:26 -06:00
|
|
|
|
2023-09-21 01:58:05 -05:00
|
|
|
Command\Api\GenerateKeyCommand::NAME => Command\Api\GenerateKeyCommand::class,
|
2017-12-27 08:37:26 -06:00
|
|
|
Command\Api\DisableKeyCommand::NAME => Command\Api\DisableKeyCommand::class,
|
|
|
|
Command\Api\ListKeysCommand::NAME => Command\Api\ListKeysCommand::class,
|
2023-09-21 02:29:59 -05:00
|
|
|
Command\Api\InitialApiKeyCommand::NAME => Command\Api\InitialApiKeyCommand::class,
|
2017-12-27 08:37:26 -06:00
|
|
|
|
|
|
|
Command\Tag\ListTagsCommand::NAME => Command\Tag\ListTagsCommand::class,
|
|
|
|
Command\Tag\RenameTagCommand::NAME => Command\Tag\RenameTagCommand::class,
|
|
|
|
Command\Tag\DeleteTagsCommand::NAME => Command\Tag\DeleteTagsCommand::class,
|
2022-05-23 13:47:37 -05:00
|
|
|
Command\Tag\GetTagVisitsCommand::NAME => Command\Tag\GetTagVisitsCommand::class,
|
2019-08-04 04:30:35 -05:00
|
|
|
|
2020-09-27 05:39:02 -05:00
|
|
|
Command\Domain\ListDomainsCommand::NAME => Command\Domain\ListDomainsCommand::class,
|
2021-07-21 14:09:33 -05:00
|
|
|
Command\Domain\DomainRedirectsCommand::NAME => Command\Domain\DomainRedirectsCommand::class,
|
2022-05-22 12:34:08 -05:00
|
|
|
Command\Domain\GetDomainVisitsCommand::NAME => Command\Domain\GetDomainVisitsCommand::class,
|
2020-09-27 05:39:02 -05:00
|
|
|
|
2019-08-04 04:30:35 -05:00
|
|
|
Command\Db\CreateDatabaseCommand::NAME => Command\Db\CreateDatabaseCommand::class,
|
2019-08-06 13:48:48 -05:00
|
|
|
Command\Db\MigrateDatabaseCommand::NAME => Command\Db\MigrateDatabaseCommand::class,
|
2024-03-02 15:44:22 -06:00
|
|
|
|
|
|
|
Command\RedirectRule\ManageRedirectRulesCommand::NAME =>
|
|
|
|
Command\RedirectRule\ManageRedirectRulesCommand::class,
|
2024-04-13 02:55:40 -05:00
|
|
|
|
|
|
|
Command\Integration\MatomoSendVisitsCommand::NAME => Command\Integration\MatomoSendVisitsCommand::class,
|
2024-10-13 05:24:59 -05:00
|
|
|
|
|
|
|
Command\Config\ReadEnvVarCommand::NAME => Command\Config\ReadEnvVarCommand::class,
|
2017-10-12 03:13:20 -05:00
|
|
|
],
|
2016-07-05 16:25:39 -05:00
|
|
|
],
|
|
|
|
|
|
|
|
];
|