Initial Version
This commit is contained in:
17
bin/console
Executable file
17
bin/console
Executable file
@@ -0,0 +1,17 @@
|
||||
#!/usr/bin/env php
|
||||
<?php
|
||||
|
||||
/**
|
||||
* Console entry point - Symfony console has been removed.
|
||||
* Add your own CLI commands here or integrate an alternative CLI library.
|
||||
*/
|
||||
|
||||
if (!is_dir(dirname(__DIR__).'/vendor')) {
|
||||
throw new LogicException('Dependencies are missing. Try running "composer install".');
|
||||
}
|
||||
|
||||
require_once dirname(__DIR__).'/vendor/autoload.php';
|
||||
|
||||
echo "Console commands not available. Symfony console has been removed.\n";
|
||||
echo "To add CLI functionality, integrate an alternative CLI library.\n";
|
||||
exit(0);
|
||||
Reference in New Issue
Block a user