All apps/Apache Cordova

Apache Cordova

cordova

Build native mobile apps from HTML, CSS and JavaScript.

Runs as cordova|macOS, Linux, Windows|cordova.apache.org

Command form

ai-draft · 5 tasks · 16 fields

Create, build and run Cordova apps.

Opens the form; the finished command lands at your prompt, unrun
otty gui cordova

cordova create

Create a project
Create a projectExample values, fixed in this page — nothing here reaches a terminal
Basic
Directory*
directory
Reverse-domain ID
string
App name
string
TasksEach one presets the form for one job
Create
pathapp_idname
ParametersOnly these flags are editable in the form
Directory
Must not already exist.
path · positional 0
Reverse-domain ID
string · positional 1
App name
string · positional 2
Template
Local path, npm package or GitHub template.
string
--template

cordova build

Build for a platform
Build for a platformExample values, fixed in this page — nothing here reaches a terminal
Basic
Platforms*
string
Debug build
--debug
Advanced
Verbose
--verbose
TasksEach one presets the form for one job
Debug
platformdebugverbose
Release
platformreleaseverbose
ParametersOnly these flags are editable in the form
Platforms
Leave empty for all platforms.
string · positional 0 · repeatable
androidiosbrowser
Release build
boolean
--release
Debug build
boolean
--debug
Device
boolean
--device
Emulator
boolean
--emulator
Verbose
boolean
--verbose-d

cordova run

Run on a device or emulator
Run on a device or emulatorExample values, fixed in this page — nothing here reaches a terminal
Basic
Platforms*
string
Debug build
--debug
Advanced
Verbose
--verbose
TasksEach one presets the form for one job
Debug
platformdebugverbose
Release
platformreleaseverbose
ParametersOnly these flags are editable in the form
Platforms
Leave empty for all platforms.
string · positional 0 · repeatable
androidiosbrowser
Release build
boolean
--release
Debug build
boolean
--debug
Device
boolean
--device
Emulator
boolean
--emulator
Verbose
boolean
--verbose-d
SourcesEvery flag above is checked against these
fig
completion

github.com

fig
completion

github.com

fig
completion

github.com

fig
completion

github.com

Before it fills your prompt, Otty checks the installed cordova against its version. A form that does not match your version is not offered.