From: Michael Wallner Date: Fri, 16 Dec 2016 09:09:32 +0000 (+0100) Subject: bootstrap: virtual commands options X-Git-Url: https://git.m6w6.name/?p=pharext%2Fpharext.org;a=commitdiff_plain;h=9aadd6edf3ee0e670b7fd84a805a0b25eda9eaa5 bootstrap: virtual commands options --- 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], ] ]);