From d478c9c03455f8bef3bc3147f0108d9f71b7b7ca Mon Sep 17 00:00:00 2001 From: Awilum Date: Sun, 22 Aug 2021 18:13:05 +0300 Subject: [PATCH] feat(console): initial code commit for flextype console app --- bin/flextype | 12 ++++++++++++ composer.json | 6 +++++- src/flextype/core/Console/EntriesCommand.php | 0 3 files changed, 17 insertions(+), 1 deletion(-) create mode 100755 bin/flextype create mode 100644 src/flextype/core/Console/EntriesCommand.php diff --git a/bin/flextype b/bin/flextype new file mode 100755 index 00000000..91204032 --- /dev/null +++ b/bin/flextype @@ -0,0 +1,12 @@ +#!/usr/bin/env php +run(); \ No newline at end of file diff --git a/composer.json b/composer.json index da9048e5..ae32af59 100755 --- a/composer.json +++ b/composer.json @@ -59,7 +59,8 @@ "middlewares/whoops": "^2.0", "nette/neon": "^3.2", "league/commonmark": "^2.0", - "siriusphp/upload": "^3.0" + "siriusphp/upload": "^3.0", + "symfony/console": "^5.3" }, "suggest": { "ext-zend-opcache": "Recommended for better performance", @@ -76,6 +77,9 @@ "src/flextype/macros/macros.php" ] }, + "bin": [ + "bin/flextype" + ], "require-dev": { "doctrine/coding-standard": "9.0.0", "pestphp/pest": "^1.12.0", diff --git a/src/flextype/core/Console/EntriesCommand.php b/src/flextype/core/Console/EntriesCommand.php new file mode 100644 index 00000000..e69de29b