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' => [
|
2018-09-16 19:36:02 +03:00
|
|
|
Command\ShortUrl\GenerateShortUrlCommand::NAME => Command\ShortUrl\GenerateShortUrlCommand::class,
|
|
|
|
Command\ShortUrl\ResolveUrlCommand::NAME => Command\ShortUrl\ResolveUrlCommand::class,
|
|
|
|
Command\ShortUrl\ListShortUrlsCommand::NAME => Command\ShortUrl\ListShortUrlsCommand::class,
|
|
|
|
Command\ShortUrl\GetVisitsCommand::NAME => Command\ShortUrl\GetVisitsCommand::class,
|
|
|
|
Command\ShortUrl\DeleteShortUrlCommand::NAME => Command\ShortUrl\DeleteShortUrlCommand::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,
|
2017-12-27 17:37:26 +03:00
|
|
|
|
|
|
|
Command\Api\GenerateKeyCommand::NAME => Command\Api\GenerateKeyCommand::class,
|
|
|
|
Command\Api\DisableKeyCommand::NAME => Command\Api\DisableKeyCommand::class,
|
|
|
|
Command\Api\ListKeysCommand::NAME => Command\Api\ListKeysCommand::class,
|
|
|
|
|
|
|
|
Command\Tag\ListTagsCommand::NAME => Command\Tag\ListTagsCommand::class,
|
|
|
|
Command\Tag\CreateTagCommand::NAME => Command\Tag\CreateTagCommand::class,
|
|
|
|
Command\Tag\RenameTagCommand::NAME => Command\Tag\RenameTagCommand::class,
|
|
|
|
Command\Tag\DeleteTagsCommand::NAME => Command\Tag\DeleteTagsCommand::class,
|
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,
|
2017-10-12 11:13:20 +03:00
|
|
|
],
|
2016-07-06 00:25:39 +03:00
|
|
|
],
|
|
|
|
|
|
|
|
];
|