Ticket #770 (closed defect: fixed)
CLI tasks not correct
| Reported by: | birne | Owned by: | somebody |
|---|---|---|---|
| Priority: | minor | Milestone: | 2.0.0 (OLD) |
| Component: | Documentation | Version: | 0.10.0 |
| Severity: | Keywords: | cli task | |
| Cc: | Has Test: | ||
| Status: | Has Patch: |
Description
On http://www.phpdoctrine.org/documentation/manual/0_10?chapter=utilities#command-line-interface:tasks there is a listing of command line interface task names. Unfortunately at least the name "generate-yaml-from-models" is not correct as the corresponding class is named "Doctrine_Task_GenerateModelsYaml" and thus the command name should be (and works with) "generate-yaml-models".
When calling the cli without an argument, I get
Doctrine Command Line Interface ./doctrine build-all-load ./doctrine rebuild-db ./doctrine build-all-reload ./doctrine generate-sql ./doctrine create-tables ./doctrine load-dummy-data ./doctrine create-db ./doctrine generate-yaml-db ./doctrine dql ./doctrine generate-migrations-db ./doctrine dump-data ./doctrine generate-models-db ./doctrine generate-migration ./doctrine generate-migrations-models ./doctrine load-data ./doctrine generate-models-yaml ./doctrine migrate ./doctrine generate-yaml-models ./doctrine compile ./doctrine build-all ./doctrine drop-db
so I assume that other task names are affected by the documentation incorrectness as well. (I named "my" cli not "cli" but "doctrine"..)
Change History
Note: See
TracTickets for help on using
tickets.