mirror of
https://github.com/shlinkio/shlink.git
synced 2025-02-25 18:45:27 -06:00
Created new CLI command to parse a shortcode
This commit is contained in:
2
bin/cli
2
bin/cli
@@ -1,6 +1,7 @@
|
||||
#!/usr/bin/env php
|
||||
<?php
|
||||
use Acelaya\UrlShortener\CliCommands\GenerateShortcodeCommand;
|
||||
use Acelaya\UrlShortener\CliCommands\ResolveUrlCommand;
|
||||
use Interop\Container\ContainerInterface;
|
||||
use Symfony\Component\Console\Application as CliApp;
|
||||
|
||||
@@ -10,5 +11,6 @@ $container = include __DIR__ . '/../config/container.php';
|
||||
$app = new CliApp();
|
||||
$app->addCommands([
|
||||
$container->get(GenerateShortcodeCommand::class),
|
||||
$container->get(ResolveUrlCommand::class),
|
||||
]);
|
||||
$app->run();
|
||||
|
||||
Reference in New Issue
Block a user