File tree 1 file changed +7
-5
lines changed 1 file changed +7
-5
lines changed Original file line number Diff line number Diff line change 1
1
.. index ::
2
2
single: Console; Console arguments
3
3
4
- Understanding how Console Arguments Are Handled
5
- ===============================================
4
+ Understanding how Console Arguments and Options Are Handled
5
+ ===========================================================
6
6
7
- It can be difficult to understand the way arguments are handled by the console application.
8
- The Symfony Console application, like many other CLI utility tools, follows the behavior
9
- described in the `docopt `_ standards.
7
+ Symfony Console applications follow the same `docopt `_ standard used in most
8
+ CLI utility tools. This article explains how to handle edge-cases when the
9
+ commands define options with required values, without values, etc. Read
10
+ :doc: `this other article </console/input >` to learn about using arguments and
11
+ options inside Symfony Console commands.
10
12
11
13
Have a look at the following command that has three options::
12
14
You can’t perform that action at this time.
0 commit comments