-
-
Notifications
You must be signed in to change notification settings - Fork 39
Group commands into categories #69
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Group commands into categories #69
Conversation
|
thanks a lot, would you wait a little for me to review it sometimes next week :) |
|
btw what do you think about this? https://github.com/adhocore/php-cli/pull/new/68-command-group (i had hacked on this before seeing your PR) <?php
$app = new Ahc\Cli\Application('console', '0.0.1');
$app
->command('db:create', 'db create', 'dc')->tap()
->command('app:init', 'app init', 'ai')->tap()
->command('routelist', 'route list', 'rl')->tap()
->command('db:seed', 'db seed', 'ds')->tap()
->command('routegen', 'route gen', 'rg')->tap()
->command('app:env', 'app env', 'ae')->tap()
;
$app->handle($_SERVER['argv'] ?? []); |
Hi!!! I've been waiting for your response ever since!!! have you forgotten 😒😢 |
|
helo, i was going thru rough times lately. |
|
hi, could you pls try to apply the feedback, add docs to readme and make the build pass? so i can accept the PR as hacktoberfest-accepted on your behalf. |
|
ok, I'll put the comments on all my edits. |
|
i think you misunderstood. i meant this:
|
|
helo @dimtrovich , i have fixed it in #72, and released v1.2.0 with credits to you as well |

see #68