Command line tool for Apache Cordova contributors to manage Apache Cordova repositories, and to help with releases and pull requests.
This repository has the following purposes:
- To hold committer-relevant documentation
- To hold release automation scripts
coho create-archive && coho verify-archive
- To hold generally useful dev scripts
Node.js is a pre-requisite:
Easiest way on OS X & Linux: https://github.com/creationix/nvm
Easiest way on Windows: http://nodejs.org/
npm install -g cordova-coho coho
On Mac OS X / Linux, if you didn't use a node version manager like
n, you might have to run the command using
Alternately, you could also clone & use
mkdir -p cordova cd cordova git clone https://github.com/apache/cordova-coho cd cordova-coho npm install npm link # Might need sudo for some configurations coho
Or you can just call coho directly in your clone:
Cloning/Updating Cordova repositories
coho repo-update -g -r all
repo-update will clone a repo if it is missing -- if it exists, it updates it.
all repo id will clone all Apache Cordova repositories into the current working directory.
or if you know the command:
coho [command] --help
coho repo-clone --help
To see valid repo ids and repo group ids for use with Coho, use the
Note about global context
Note that for some commands you may need to use the
--global flag to work in an npm global context, since coho was originally designed for use in another context.
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][contribute].