From 888f241829e8922e95c5c925a192a50fe34264cd Mon Sep 17 00:00:00 2001 From: mcinp Date: Wed, 2 Apr 2014 10:19:24 +0200 Subject: Update CommandLine.page prado-cli.php moved to /bin --- .../protected/pages/GettingStarted/CommandLine.page | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) (limited to 'demos/quickstart') diff --git a/demos/quickstart/protected/pages/GettingStarted/CommandLine.page b/demos/quickstart/protected/pages/GettingStarted/CommandLine.page index 07609da5..3619d3d9 100644 --- a/demos/quickstart/protected/pages/GettingStarted/CommandLine.page +++ b/demos/quickstart/protected/pages/GettingStarted/CommandLine.page @@ -1,6 +1,12 @@

Command Line Tool

-

The optional prado-cli.php PHP script file in the framework + +

+Note: With Prado version 3.2.3 prado-cli.php location changed from framework +to bin directory. If you're using Prado 3.2.2 or earlier, replace bin with framework in examples below. +
+ +

The optional prado-cli.php PHP script file in the bin directory provides command line tools to perform various tedious takes in Prado. The prado-cli.php can be used to create Prado project skeletons, create initial test fixtures, and access to an interactive PHP shell. @@ -14,7 +20,7 @@ the command line.

Usage

-If you type php path/to/framework/prado-cli.php, you should see +If you type php path/to/bin/prado-cli.php, you should see the following information. Alternatively, if you are not on Windows, you may try to change the prado-cli.php into an executable and execute it as a script

@@ -43,9 +49,9 @@ are optional parameters.

To create a Prado project skeleton, do the following:

  1. Change to the directory where you want to create the project skeleton.
  2. -
  3. Type, php ../prado/framework/prado-cli.php -c helloworld, where +
  4. Type, php ../prado/bin/prado-cli.php -c helloworld, where helloworld is the directory name that you want to create the project skeleton files.
  5. -
  6. Type, php ../prado/framework/prado-cli.php -t helloworld to create +
  7. Type, php ../prado/bin/prado-cli.php -t helloworld to create the test fixtures for the helloworld project.
@@ -58,7 +64,7 @@ command line is in the prado distribution directory and you type.

-$: php framework/prado-cli.php shell demos/blog +$: php bin/prado-cli.php shell demos/blog The output should be -- cgit v1.2.3