8000 New Feature: Change the Default Command in the Console component by dcsg · Pull Request #3426 · symfony/symfony-docs · GitHub
[go: up one dir, main page]

Skip to content

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

Merged
merged 9 commits into from
Jan 9, 2014
Prev Previous commit
Next Next commit
Added the version number where the setDefaultCommand was introduced
  • Loading branch information
dcsg committed Jan 5, 2014
commit 11c7174059df940a1a5e75584727c452304355f8
4 changes: 4 additions & 0 deletions components/console/changing_default_behavior.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@
Changing the Default Behavior
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This title does not describe what the doc is about (default behavior of what ? Any doc about extending a part of Symfony could use this title)

=============================

.. versionadded:: 2.5,
The :method:`Symfony\\Component\\Console\\Application::setDefaultCommand`
method was introduced in version 2.5
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This does aply to the section started on line 16, not to the hole article, does it?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yes true! will move it to the right section


When building a command line tool, you may need to customize it to fit your needs.
Probably you want to change the Default Command that the Application runs or
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

default command (lowercased)

maybe you just want to run a Single Command instead of have to pass the command
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

single command (lowercased)

Expand Down
0