2016-07-06 00:25:39 +03:00
|
|
|
<?php
|
2017-10-12 11:13:20 +03:00
|
|
|
declare(strict_types=1);
|
|
|
|
|
2016-07-19 17:50:02 +03:00
|
|
|
use Shlinkio\Shlink\CLI\Command;
|
2017-07-16 10:28:40 +03:00
|
|
|
use Shlinkio\Shlink\Common;
|
2016-07-06 00:25:39 +03:00
|
|
|
|
|
|
|
return [
|
|
|
|
|
|
|
|
'cli' => [
|
2017-07-16 10:28:40 +03:00
|
|
|
'locale' => Common\env('CLI_LOCALE', 'en'),
|
2016-07-06 00:25:39 +03:00
|
|
|
'commands' => [
|
2017-12-27 17:37:26 +03:00
|
|
|
Command\Shortcode\GenerateShortcodeCommand::NAME => Command\Shortcode\GenerateShortcodeCommand::class,
|
|
|
|
Command\Shortcode\ResolveUrlCommand::NAME => Command\Shortcode\ResolveUrlCommand::class,
|
|
|
|
Command\Shortcode\ListShortcodesCommand::NAME => Command\Shortcode\ListShortcodesCommand::class,
|
|
|
|
Command\Shortcode\GetVisitsCommand::NAME => Command\Shortcode\GetVisitsCommand::class,
|
|
|
|
Command\Shortcode\GeneratePreviewCommand::NAME => Command\Shortcode\GeneratePreviewCommand::class,
|
|
|
|
|
|
|
|
Command\Visit\ProcessVisitsCommand::NAME => Command\Visit\ProcessVisitsCommand::class,
|
|
|
|
|
|
|
|
Command\Config\GenerateCharsetCommand::NAME => Command\Config\GenerateCharsetCommand::class,
|
|
|
|
Command\Config\GenerateSecretCommand::NAME => Command\Config\GenerateSecretCommand::class,
|
|
|
|
|
|
|
|
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,
|
2017-10-12 11:13:20 +03:00
|
|
|
],
|
2016-07-06 00:25:39 +03:00
|
|
|
],
|
|
|
|
|
|
|
|
];
|