cordova create <path> [id] [name]
Create a project
Arguments
Name | Description |
---|---|
path | Directory which should not already exist. Cordova will create this directory |
id | Reverse domain-style identifier that maps to id attribute of widget element in config.xml. This can be changed but there may be code generated using this value, such as Java package names. It is recommended that you select an appropriate value |
name | Application's display title that maps name element in config.xml file. This can be changed but there may be code generated using this value, such as Java class names. The default value is HelloCordova, but it is recommended that you select an appropriate value |
Options
Name | Description |
---|---|
-d, --verbose | Pipe out more verbose output to your shell. You can also subscribe to log and warn events if you are consuming cordova-cli as a node module by calling cordova.on('log', function() {}) or cordova.on('warn', function() {}) |
-v, --version | Print out the version of your cordova-cli install |
--no-update-notifier | Will disable updates check |
--nohooks | Suppress executing hooks (taking RegExp hook patterns as parameters) |
--no-telemetry | Disable telemetry collection for the current command |
--template | Use a custom template located locally, in NPM, or GitHub |