From 9aadd6edf3ee0e670b7fd84a805a0b25eda9eaa5 Mon Sep 17 00:00:00 2001 From: Michael Wallner Date: Fri, 16 Dec 2016 10:09:32 +0100 Subject: [PATCH] bootstrap: virtual commands options --- app/bootstrap/cli.php | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/app/bootstrap/cli.php b/app/bootstrap/cli.php index 8142fb1..4582c3c 100644 --- a/app/bootstrap/cli.php +++ b/app/bootstrap/cli.php @@ -14,9 +14,7 @@ $injector->share(Cli::class); $injector->share(Args::class) ->define(Args::class, [ ":spec" => [ - [null, "ngrok", "Run ngrok", Args::SINGLE], - [null, "initdb", "Create database", Args::SINGLE], - [null, "gen-models", "Generate pq\\Gateway models", Args::SINGLE], + [0, "command", "Command to run\n- ngrok: Run ngrok\n- initdb: Create database\n- gen-models: Generate pq\\Gatweay models", Args::SINGLE|Args::REQUIRED], ["h", "help", "Show this help", Args::HALT], ] ]); -- 2.30.2