8000 Command naming conventions · symfony/symfony-docs@60f8569 · GitHub
[go: up one dir, main page]

Skip to content

Commit 60f8569

Browse files
danepowelljaviereguiluz
authored andcommitted
Command naming conventions
1 parent 685cb2c commit 60f8569

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

contributing/code/conventions.rst

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -234,3 +234,11 @@ of the impacted component:
234234
This task is mandatory and must be done in the same pull request.
235235

236236
.. _`@-silencing operator`: https://www.php.net/manual/en/language.operators.errorcontrol.php
237+
238+
Naming Commands and Options
239+
---------------------------
240+
241+
Commands and their options should be named and described using the English
242+
imperative mood (i.e. 'run' instead of 'runs', 'list' instead of 'lists'). Using
243+
the imperative mood is concise and consistent with similar command-line
244+
interfaces (such as Unix man pages).

0 commit comments

Comments
 (0)
0