MCPcopy Index your code
hub / github.com/apache/cordova-cli

github.com/apache/cordova-cli @13.0.0

Chat with this repo
repository ↗ · DeepWiki ↗ · release 13.0.0 ↗ · + Follow
19 symbols 36 edges 7 files 0 documented · 0%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

Cordova CLI

NPM

Node CI codecov.io

The command line tool to build, deploy and manage Cordova-based applications.

Apache Cordova allows for building native mobile applications using HTML, CSS and JavaScript. This tool helps with management of multi-platform Cordova applications as well as Cordova plugin integration.

Installation

In your command-line on Windows:

    c:\> npm install -g cordova

In your terminal on Mac OS X/Linux:

    $sudo npm install -g cordova

Creating a new Cordova project

This simple example demonstrates how Cordova CLI can be used to create a myApp project with the camera plugin and run it for android platform:

    cordova create myApp com.myCompany.myApp myApp
    cd myApp
    cordova plugin add cordova-plugin-camera --save
    cordova platform add android --save
    cordova requirements android
    cordova build android --verbose
    cordova run android

Docs

Contributing

Cordova is an open source Apache project and contributors are needed to keep this project moving forward. Learn more on how to contribute on our website.

Reporting Issues

If you find issues with the Cordova CLI, please follow our guidelines for reporting issues. Please bear in mind that most of cordova-cli's functionality is implemented in cordova-lib, so that could be the place to report your issue. Platform-specific issues should be reported in the relevant repositories, such as cordova-android and cordova-ios.

Core symbols most depended-on inside this repo

cli
called by 35
src/cli.js
_getLibDependenciesInfo
called by 2
src/info.js
_getInstalledPlatforms
called by 2
src/info.js
_failSafeSpawn
called by 2
src/info.js
getCordovaDependenciesInfo
called by 1
src/info.js
getInstalledPlatforms
called by 1
src/info.js
getInstalledPlugins
called by 1
src/info.js
getEnvironmentInfo
called by 1
src/info.js

Shape

Function 19

Languages

TypeScript100%

Modules by API surface

src/info.js13 symbols
spec/cli.spec.js4 symbols
src/cli.js2 symbols

For agents

$ claude mcp add cordova-cli \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact