Updated Branches:
  refs/heads/master 87b7d3bf6 -> 37872c6ce

adding command line tool docs


Project: http://git-wip-us.apache.org/repos/asf/incubator-cordova-docs/repo
Commit: 
http://git-wip-us.apache.org/repos/asf/incubator-cordova-docs/commit/37872c6c
Tree: 
http://git-wip-us.apache.org/repos/asf/incubator-cordova-docs/tree/37872c6c
Diff: 
http://git-wip-us.apache.org/repos/asf/incubator-cordova-docs/diff/37872c6c

Branch: refs/heads/master
Commit: 37872c6ce572d999f0cb70ab820632ad0c7af732
Parents: 87b7d3b
Author: Anis Kadri <anis.ka...@gmail.com>
Authored: Wed Jun 27 17:09:10 2012 -0700
Committer: Anis Kadri <anis.ka...@gmail.com>
Committed: Wed Jun 27 17:09:10 2012 -0700

----------------------------------------------------------------------
 docs/en/edge/guide/command-line/index.md |  121 +++++++++++++++++++++++++
 1 files changed, 121 insertions(+), 0 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-cordova-docs/blob/37872c6c/docs/en/edge/guide/command-line/index.md
----------------------------------------------------------------------
diff --git a/docs/en/edge/guide/command-line/index.md 
b/docs/en/edge/guide/command-line/index.md
index f1f742f..3842fff 100644
--- a/docs/en/edge/guide/command-line/index.md
+++ b/docs/en/edge/guide/command-line/index.md
@@ -19,3 +19,124 @@ license: Licensed to the Apache Software Foundation (ASF) 
under one
 
 Command-Line Usage
 ==================
+
+Cordova now ships with a set of command line tools that make it easier for you 
to developer cross platform apps. You can build, clean, launch an emulator with 
a single command.
+
+* iOS
+* Android
+
+iOS
+===
+
+Create a project
+----------------
+
+Run the create comand with the:
+
+* Path to your new cordova iOS project
+* Package name
+* Project name
+
+<!-- -->
+
+    $ /path/to/phonegap-phonegap-xxxxxxx/lib/ios/bin/create 
/path/to/cordova_project com.example.cordova_project_name CordovaProjectName
+
+
+Build a project
+---------------
+
+    $ /path/to/cordova_project/cordova/debug /path/to/cordova_project 
CordovaProjectName
+
+Launch emulator
+---------------
+
+    $ /path/to/cordova_project/cordova/emulate
+
+Logging
+-------
+
+    $ /path/to/cordova_project/cordova/log
+
+
+Android
+=======
+
+
+Create a project
+----------------
+
+Run the create comand with the:
+
+* Path to your new cordova android project
+* Package name
+* Main activity name
+
+<!-- -->
+
+    $ /path/to/phonegap-phonegap-xxxxxxx/lib/android/bin/create 
/path/to/cordova_project com.example.cordova_project_name CordovaProjectName
+
+or
+
+        $ /path/to/phonegap-phonegap-xxxxxxx/lib/android/bin/create.bat 
/path/to/new_cordova_project com.example.cordova_project_name CordovaProjectName
+
+on **Windows**
+
+Build a project
+---------------
+
+    $ /path/to/cordova_project/cordova/debug
+
+or
+
+    $ /path/to/cordova_project/cordova/debug.bat
+
+on **Windows**
+
+Launch emulator
+---------------
+
+    $ /path/to/cordova_project/cordova/emulate
+
+or
+
+    $ /path/to/cordova_project/cordova/emulate.bat
+
+on **Windows**
+
+Make sure you created at least one Android Virtual Device if you did not it 
will ask you to create one with the *android* command.
+If you have multiple AVDs, it will prompt you to select an AVD.
+
+Logging
+-------
+
+    $ /path/to/cordova_project/cordova/log
+
+or
+
+    $ /path/to/cordova_project/cordova/log.bat
+
+on **Windows**
+
+Cleaning
+--------
+
+    $ /path/to/cordova_project/cordova/clean
+
+or
+
+    $ /path/to/cordova_project/cordova/clean.bat
+
+on **Windows**
+
+Clean, build, deploy and launch
+-------------------------------
+
+    $ /path/to/cordova_project/cordova/BOOM
+
+or
+
+    $ /path/to/cordova_project/cordova/BOOM.bat
+
+on **Windows**
+
+Make sure you have an emulator or a device connected.

Reply via email to