Avocado: The universal App container
Last updated 2 years ago by adamdbradley .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install @avocadojs/cli 
SYNC missed versions from official npm registry.

AvocadoJS CLI

The AvocadoJS command-line interface should be installed locally and executed through npm scripts.

npm install @avocado/cli --save-dev

Local Commands

Below is an example of running Avocado commands from a webapp's npm scripts within the local package.json file.

package.json scripts

  scripts: {
    "avocado.create": "avocado create",
    "avocado.sync": "avocado sync"
    "build": "tsc && npm run avocado.sync"

CLI Commands

sync [platform]     updates + copy
update [platform]   updates the native plugins and dependencies based in package.json
copy [platform]     copies the web app build into the native app
open [platform]     opens the native project workspace (xcode for iOS)
create [platform]   create a native project
doctor [platform]   checks the current setup for common errors
plugin:generate     start a new avocado plugin

Current Tags

  • 0.0.1                                ...           latest (2 years ago)

1 Versions

  • 0.0.1                                ...           2 years ago
Today 0
This Week 0
This Month 2
Last Day 0
Last Week 2
Last Month 1
Dependencies (8)
Dev Dependencies (14)
Dependents (0)

Copyright 2014 - 2016 © taobao.org |