diff --git a/bin/cli b/bin/cli index 66086b23..6f752583 100755 --- a/bin/cli +++ b/bin/cli @@ -1,11 +1,4 @@ #!/usr/bin/env php get(CliApp::class); -$app->run(); +include 'cli.php'; diff --git a/bin/cli.php b/bin/cli.php new file mode 100644 index 00000000..d15f1eef --- /dev/null +++ b/bin/cli.php @@ -0,0 +1,10 @@ +get(CliApp::class); +$app->run(); diff --git a/bin/install b/bin/install index c47036a9..fde1f4a7 100755 --- a/bin/install +++ b/bin/install @@ -1,14 +1,4 @@ #!/usr/bin/env php add(new InstallCommand(new PhpArray())); -$app->setDefaultCommand('shlink:install'); -$app->run(); +include 'install.php'; diff --git a/bin/install.php b/bin/install.php new file mode 100755 index 00000000..c47036a9 --- /dev/null +++ b/bin/install.php @@ -0,0 +1,14 @@ +#!/usr/bin/env php +add(new InstallCommand(new PhpArray())); +$app->setDefaultCommand('shlink:install'); +$app->run();