-
-
Notifications
You must be signed in to change notification settings - Fork 31
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
Fix #46: Support static $defaultDescription property #124
Conversation
samdark
commented
Aug 31, 2021
Q | A |
---|---|
Is bugfix? | ❌ |
New feature? | ❌ |
Breaks BC? | ❌ |
Fixed issues | #46 |
@BoShurik does it look alright to you? |
src/CommandLoader.php
Outdated
|
||
return new LazyCommand( | ||
$name, | ||
[], |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What about aliases? In Symfony they stored in default name with |
separator:
protected static $defaultName = 'app:my-command|project:my-command|legacy:foo';
It may be useful while refactoring
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Added that and hidden commands. It doesn't work too well though. Aliases are displayed but commands could not be accessed using aliases.