8000 minor #15062 Command naming conventions (danepowell) · symfony/symfony-docs@ce5f517 · GitHub
[go: up one dir, main page]

Skip to content

Commit ce5f517

Browse files
committed
minor #15062 Command naming conventions (danepowell)
This PR was squashed before being merged into the 4.4 branch. Discussion ---------- Command naming conventions This is a partial fix for symfony/symfony#36973, to be reviewed along with symfony/symfony#40387 Commits ------- 60f8569 Command naming conventions
2 parents 82db86d + 60f8569 commit ce5f517

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