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