Changeset 3886
- Timestamp:
- 02/22/08 18:34:52 (17 months ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
branches/0.10/manual/docs/en/utilities/command-line-interface.txt
r3852 r3886 1 1 +++ Introduction 2 The Doctrine Cli is a collection of tasks that help you with your day to do development and testing with your Doctrine implementation. Typically with the examples in this manual, you setup php scripts to perform whatever tasks you may need. This Cli tool is aimed at providing an out of the box solution for those tasks. 2 The Doctrine Cli is a collection of tasks that help you with your day to do development and testing with your 3 Doctrine implementation. Typically with the examples in this manual, you setup php scripts to perform whatever 4 tasks you may need. This Cli tool is aimed at providing an out of the box solution for those tasks. 3 5 4 6 +++ Tasks … … 54 56 +++ Usage 55 57 56 File named " cli" that is set to executable58 File named "doctrine" that is set to executable 57 59 58 60 <code> … … 60 62 <?php 61 63 chdir(dirname(__FILE__)); 62 include(' cli.php');64 include('doctrine.php'); 63 65 </code> 64 66 65 Actual php file named " cli.php" that implements the Doctrine_Cli.67 Actual php file named "doctrine.php" that implements the Doctrine_Cli. 66 68 <code type="php"> 67 69 // Include your Doctrine configuration/setup here, your connections, models, etc. … … 83 85 84 86 <code> 85 ./ cli generate-models-from-yaml86 ./ clicreate-tables87 ./doctrine generate-models-yaml 88 ./doctrine create-tables 87 89 </code>