2
0

Zend_Tool_Project-CreateProject.xml 2.4 KB

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