UNPKG

2.09 kBPlain TextView Raw
1Synopsis
2
3 cordova-cli command [options]
4
5Global Commands
6 create ............................. Create a project
7 help ............................... Get help for a command
8 telemetry .......................... Turn telemetry collection on or off
9
10Project Commands
11 info ............................... Generate project information
12 requirements ....................... Checks and print out all the requirements
13 for platforms specified
14
15 platform ........................... Manage project platforms
16 plugin ............................. Manage project plugins
17
18 prepare ............................ Copy files into platform(s) for building
19 compile ............................ Build platform(s)
20 clean .............................. Cleanup project from build artifacts
21
22 run ................................ Run project
23 (including prepare && compile)
24 serve .............................. Run project with a local webserver
25 (including prepare)
26
27Learn more about command options using 'cordova-cli help <command>'
28
29Aliases
30 build -> cordova-cli prepare && cordova-cli compile
31 emulate -> cordova-cli run --emulator
32
33Options
34 -v, --version ...................... prints out this utility's version
35 -d, --verbose ...................... debug mode produces verbose log output for all activity,
36 --no-update-notifier ............... disables check for CLI updates
37 --nohooks .......................... suppress executing hooks
38 (taking RegExp hook patterns as parameters)
39
40Examples
41 cordova-cli create myApp org.apache.cordova.myApp myApp
42 cordova-cli plugin add cordova-plugin-camera --save
43 cordova-cli platform add android --save
44 cordova-cli requirements android
45 cordova-cli build android --verbose
46 cordova-cli run android
47 cordova-cli build android --release -- --keystore="..\android.keystore" --storePassword=android --alias=mykey
\No newline at end of file