We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5e479da commit 38b8c5fCopy full SHA for 38b8c5f
2 files changed
bin/transformers
@@ -1,22 +1,21 @@
1
#!/usr/bin/env php
2
-<?php declare(strict_types=1);
+<?php
3
+
4
+declare(strict_types=1);
5
6
use Symfony\Component\Console\Application;
7
8
require_once $_composer_autoload_path ?? __DIR__ . '/../vendor/autoload.php';
9
10
$application = new Application();
11
-// ... register commands
-
12
try {
13
$application->setName('Transformers PHP CLI');
14
15
- $application->add(new Codewithkyrian\Transformers\Commands\InstallCommand());
16
$application->add(new Codewithkyrian\Transformers\Commands\DownloadModelCommand());
17
18
$application->run();
19
} catch (Exception $e) {
20
echo $e->getMessage();
21
exit(1);
22
-}
+}
src/Commands/InstallCommand.php
0 commit comments