Zend_Tool_Project-CreateProject.xml 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  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>Project</entry>
  52. <entry>Create / Show</entry>
  53. <entry>create - [path=null, profile='default']</entry>
  54. <entry><command>zf create project some/path</command></entry>
  55. </row>
  56. </tbody>
  57. </tgroup>
  58. </table>
  59. </sect1>