Description of the problem
The CLI Usage page (docs/cli/usage.md in ExpressionEngine-User-Guide) uses the hello command as its primary example, but that command is not registered in current ExpressionEngine releases.
Following the docs on a standard EE 7.4.11 install fails immediately:
php system/ee/eecli.php hello
# Command not found. Try `php eecli.php list` for full list of commands.
The page also shows hello in the sample list output and in the --help example, none of which match a real install.
I verified against ExpressionEngine core tags:
system/ee/ExpressionEngine/Cli/Commands/CommandHelloWorld.php exists in EE 6.0.1
- It is absent from EE 6.0.6, 6.4.17, 7.0.0, and 7.4.11
Suggested fix: replace hello examples with real built-in commands (e.g. list, cache:clear -h) and update the sample list table to match actual output. Interactive/confirmation examples could move to Creating a Command or note that those flags apply to custom commands.
Error Messages
$ php system/ee/eecli.php hello
Command not found. Try `php eecli.php list` for full list of commands.
Additional context
Description of the problem
The CLI Usage page (
docs/cli/usage.mdin ExpressionEngine-User-Guide) uses thehellocommand as its primary example, but that command is not registered in current ExpressionEngine releases.Following the docs on a standard EE 7.4.11 install fails immediately:
php system/ee/eecli.php hello # Command not found. Try `php eecli.php list` for full list of commands.The page also shows
helloin the samplelistoutput and in the--helpexample, none of which match a real install.I verified against ExpressionEngine core tags:
system/ee/ExpressionEngine/Cli/Commands/CommandHelloWorld.phpexists in EE 6.0.1Suggested fix: replace
helloexamples with real built-in commands (e.g.list,cache:clear -h) and update the samplelisttable to match actual output. Interactive/confirmation examples could move to Creating a Command or note that those flags apply to custom commands.Error Messages
Additional context
DB_HOSTNAME=127.0.0.1);php system/ee/eecli.php listworks,hellodoes not.docs/cli/usage.mdif helpful.