Zend_Tool_Project-CreateProject.xml 2.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!-- Reviewed: no -->
  3. <sect1 id="zend.tool.project.create-a-project">
  4. <title>Create A Project</title>
  5. <note>
  6. <para>
  7. The following examples will assume you have the command line interface of
  8. <classname>Zend_Tool_Framework</classname> available to you.
  9. </para>
  10. </note>
  11. <note>
  12. <para>
  13. To issue any of the commands for <classname>Zend_Tool_Project</classname> with
  14. <acronym>CLI</acronym>, you must be in the directory where the project was
  15. initially created.
  16. </para>
  17. </note>
  18. <para>
  19. To get started with <classname>Zend_Tool_Project</classname>, you simply need to create a
  20. project. Creating a project is simple: go to a place on your filesystem, create a directory,
  21. change to that directory, then issue the following command:
  22. </para>
  23. <para>
  24. <command>/tmp/project$ zf create project</command>
  25. </para>
  26. <para>
  27. Optionally, you can create a directory anywhere by the following:
  28. </para>
  29. <para>
  30. <command>$ zf create project /path/to/non-existent-dir</command>
  31. </para>
  32. <para>
  33. The following table will describe the capabilities of providers that are available to
  34. you. As you can see in this table, there is a "Project" provider. The Project provider
  35. has a couple of actions associated to it, and with those actions a number of options that
  36. can be used to modify the behavior of the action and provider.
  37. </para>
  38. <table id="zend.tool.project.project-provider-table">
  39. <title>Project Provider Options</title>
  40. <tgroup cols="4">
  41. <thead>
  42. <row>
  43. <entry>Provider Name</entry>
  44. <entry>Available Actions</entry>
  45. <entry>Parameters</entry>
  46. <entry><acronym>CLI</acronym> Usage</entry>
  47. </row>
  48. </thead>
  49. <tbody>
  50. <row>
  51. <entry>
  52. Project
  53. </entry>
  54. <entry>
  55. Create / Show
  56. </entry>
  57. <entry>
  58. create - [path=null, profile='default']
  59. </entry>
  60. <entry>
  61. <command>zf create project some/path</command>
  62. </entry>
  63. </row>
  64. </tbody>
  65. </tgroup>
  66. </table>
  67. </sect1>