4
4
Console Usage
5
5
=============
6
6
7
- As well as the options you specify for the commands you add there are some
8
- built options as well as a couple of built in commands for the console component.
7
+ In addition to the options you specify for your commands, there are some
8
+ built-in options as well as a couple of built- in commands for the console component.
9
9
10
10
.. note ::
11
+
11
12
These examples assume you have added a file ``app/console `` to run at
12
13
the cli::
13
14
@@ -21,10 +22,10 @@ built options as well as a couple of built in commands for the console component
21
22
// ...
22
23
$application->run();
23
24
24
- Built in Commands
25
+ Built- in Commands
25
26
~~~~~~~~~~~~~~~~~
26
27
27
- There is a built in command ``list `` which outputs all the standard options
28
+ There is a built- in command ``list `` which outputs all the standard options
28
29
and the registered commands:
29
30
30
31
.. code-block :: bash
@@ -53,7 +54,7 @@ Running ``help`` without specifying a command will list the global options:
53
54
Global Options
54
55
~~~~~~~~~~~~~~
55
56
56
- You can get help information for any command with the ``--help `` option, to
57
+ You can get help information for any command with the ``--help `` option. To
57
58
get help for the list command:
58
59
59
60
.. code-block :: bash
@@ -68,7 +69,7 @@ You can suppress output with:
68
69
$ php app/console list --quiet
69
70
$ php app/console list -q
70
71
71
- You can get more verbose messages (where this is supported for a command)
72
+ You can get more verbose messages (if this is supported for a command)
72
73
with:
73
74
74
75
.. code-block :: bash
@@ -122,7 +123,7 @@ Shortcut Syntax
122
123
~~~~~~~~~~~~~~~
123
124
124
125
You do not have to type out the full command names. You can just type the
125
- shortest unambiguous name to run a command. So if there are non clashing
126
+ shortest unambiguous name to run a command. So if there are non- clashing
126
127
commands, then you can run ``help `` like this:
127
128
128
129
.. code-block :: bash
@@ -138,5 +139,5 @@ can run it with:
138
139
139
140
$ php app/console d:g Fabien
140
141
141
- If you choose too short a command so it is ambiguous then no command will be run and
142
+ If you choose too short a command so it is ambiguous, then no command will be run and
142
143
some suggestions of the possible commands to choose from will be output.
0 commit comments