From 7bd1f097a78c68cffcead6c120b7a93d740ec750 Mon Sep 17 00:00:00 2001 From: gkdev Date: Sat, 26 Aug 2023 16:13:51 +0300 Subject: [PATCH] build: implement greeting and prompt for game --- bin/brain-games | 6 +++++- composer.json | 2 +- src/Cli.php | 8 ++++++++ 3 files changed, 14 insertions(+), 2 deletions(-) create mode 100644 src/Cli.php diff --git a/bin/brain-games b/bin/brain-games index 451e995..1dc7cf9 100755 --- a/bin/brain-games +++ b/bin/brain-games @@ -1 +1,5 @@ -#!/usr/bin/env php \ No newline at end of file +#!/usr/bin/env docker-compose run php + \ No newline at end of file diff --git a/composer.json b/composer.json index 8774bc5..032d27c 100644 --- a/composer.json +++ b/composer.json @@ -4,7 +4,7 @@ "type": "project", "autoload": { "psr-4": { - "App\\": "src/" + "BrainGames\\": "src/" } }, "authors": [ diff --git a/src/Cli.php b/src/Cli.php new file mode 100644 index 0000000..be1e9aa --- /dev/null +++ b/src/Cli.php @@ -0,0 +1,8 @@ +