-
-
Notifications
You must be signed in to change notification settings - Fork 5.2k
New Feature: Change the Default Command in the Console component #3426
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
Changes from 1 commit
b29ab89
11c7174
60e2b3e
af9eac4
730985f
012456d
c23f34e
5e97202
c1b2aad
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
the standalone component
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -23,9 +23,9 @@ method:: | |
|
||
#!/usr/bin/env php | ||
<?php | ||
// app/console | ||
// application.php | ||
|
||
use Acme\DemoBundle\Command\GreetCommand; | ||
use Acme\Command\GreetCommand; | ||
use Symfony\Component\Console\Application; | ||
|
||
$command = new GreetCommand(); | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Where does it come from? When I read this document, I might not know about this command described in another part of the documentation. And anyway, this command won't work as a default command, which cannot have any argument... which is a "limitation" that should be explained in this doc. |
||
|
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.
I'm also not sure if the bang comment is used before in the docs, if not I prefer to remove it for consistency.
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.
I copied it from the official documentation, more specific the introduction part of the Console Component
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.
ok, then we keep this.