Skip to content

Commit c06454d

Browse files
committed
Merge pull request #2292 from eugene-dounar/2.0
[#2290] Single command apps with arguments
2 parents 9dfb144 + bd7dfbf commit c06454d

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

components/console/single_command_tool.rst

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,3 +47,8 @@ it is possible to remove this need by extending the application::
4747

4848
When calling your console script, the command `MyCommand` will then always
4949
be used, without having to pass its name.
50+
51+
.. note::
52+
53+
If your command accepts one or more arguments, you may also want to override
54+
getDefinition() method.

0 commit comments

Comments
 (0)