Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
3338142a7f | ||
|
|
0a16e2ea98 |
@@ -5,8 +5,7 @@
|
|||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"require": {
|
"require": {
|
||||||
"php": "~8.1",
|
"php": "~8.1",
|
||||||
"greg/framework": "^1.0",
|
"greg/framework": "~1.0"
|
||||||
"kletellier/pdowrapper": "^1.0"
|
|
||||||
},
|
},
|
||||||
"repositories": [
|
"repositories": [
|
||||||
{
|
{
|
||||||
|
|||||||
3
console
3
console
@@ -27,6 +27,9 @@ function findCommandClasses($directory)
|
|||||||
*/
|
*/
|
||||||
require_once ROOT . DIRECTORY_SEPARATOR . 'vendor'. DIRECTORY_SEPARATOR . 'autoload.php';
|
require_once ROOT . DIRECTORY_SEPARATOR . 'vendor'. DIRECTORY_SEPARATOR . 'autoload.php';
|
||||||
|
|
||||||
|
// start application
|
||||||
|
$kapp = new \Kletellier\Framework\Core\Kernel\Application(ROOT);
|
||||||
|
|
||||||
$application = new Application();
|
$application = new Application();
|
||||||
// Load all commands in Commands folder
|
// Load all commands in Commands folder
|
||||||
$command_directory = ROOT . DIRECTORY_SEPARATOR . 'app' . DIRECTORY_SEPARATOR . "Commands";
|
$command_directory = ROOT . DIRECTORY_SEPARATOR . 'app' . DIRECTORY_SEPARATOR . "Commands";
|
||||||
|
|||||||
Reference in New Issue
Block a user