Show
Ignore:
Timestamp:
02/22/08 13:34:52 (2 years ago)
Author:
jwage
Message:

fixes #770

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • branches/0.10/manual/docs/en/utilities/command-line-interface.txt

    r3852 r3886  
    11+++ 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. 
     2The Doctrine Cli is a collection of tasks that help you with your day to do development and testing with your  
     3Doctrine implementation. Typically with the examples in this manual, you setup php scripts to perform whatever  
     4tasks you may need. This Cli tool is aimed at providing an out of the box solution for those tasks. 
    35 
    46+++ Tasks 
     
    5456+++ Usage 
    5557 
    56 File named "cli" that is set to executable 
     58File named "doctrine" that is set to executable 
    5759 
    5860<code> 
     
    6062<?php 
    6163chdir(dirname(__FILE__)); 
    62 include('cli.php'); 
     64include('doctrine.php'); 
    6365</code> 
    6466 
    65 Actual php file named "cli.php" that implements the Doctrine_Cli. 
     67Actual php file named "doctrine.php" that implements the Doctrine_Cli. 
    6668<code type="php"> 
    6769// Include your Doctrine configuration/setup here, your connections, models, etc. 
     
    8385 
    8486<code> 
    85 ./cli generate-models-from-yaml 
    86 ./cli create-tables 
     87./doctrine generate-models-yaml 
     88./doctrine create-tables 
    8789</code>