Return-Path: X-Original-To: apmail-cordova-dev-archive@www.apache.org Delivered-To: apmail-cordova-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 4288619E2E for ; Wed, 13 Apr 2016 18:23:03 +0000 (UTC) Received: (qmail 91077 invoked by uid 500); 13 Apr 2016 18:23:03 -0000 Delivered-To: apmail-cordova-dev-archive@cordova.apache.org Received: (qmail 91039 invoked by uid 500); 13 Apr 2016 18:23:03 -0000 Mailing-List: contact dev-help@cordova.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cordova.apache.org Delivered-To: mailing list dev@cordova.apache.org Received: (qmail 91024 invoked by uid 99); 13 Apr 2016 18:23:02 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 13 Apr 2016 18:23:02 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id 9D856DFDCF; Wed, 13 Apr 2016 18:23:02 +0000 (UTC) From: nikhilkh To: dev@cordova.apache.org Reply-To: dev@cordova.apache.org References: In-Reply-To: Subject: [GitHub] cordova-cli pull request: CB-11042: Add cordova run option to skip... Content-Type: text/plain Message-Id: <20160413182302.9D856DFDCF@git1-us-west.apache.org> Date: Wed, 13 Apr 2016 18:23:02 +0000 (UTC) Github user nikhilkh commented on a diff in the pull request: https://github.com/apache/cordova-cli/pull/244#discussion_r59599203 --- Diff: doc/readme.md --- @@ -464,29 +464,31 @@ cordova build [ [...]] ### Synopsis -Prepares, builds (unless `--nobuild` is specified) and deploys app on specified platform devices/emulators. If a device is connected it will be used, unless an eligible emulator is already running. +Prepares, builds, and deploys app on specified platform devices/emulators. If a device is connected it will be used, unless an eligible emulator is already running. ###Syntax ```bash cordova run [ [...]] - [--list | --nobuild ] + [--list | --debug | --release] + [--noprepare] [--nobuild] [--device|--emulator|--target=] [--buildConfig=] [--browserify] [-- ] ``` -| Option | Description -|------------|------------------ +| Option | Description +|-------------|------------------ | ` [..]` | Platform name(s) to run. If not specified, all platforms are run. -|--nobuild | Skip building -|--debug | Deploy a debug build. This is the default behavior unless `--release` is specified. -|--release | Deploy a release build -|--device | Deploy to a device -|--emulator | Deploy to an emulator -|--target | Deploy to a specific target emulator/device. Use `--list` to display target options -| --list | Lists available targets. Displays both device and emulator deployment targets unless specified +| --list | Lists available targets. Displays both device and emulator deployment targets unless specified +| --debug | Deploy a debug build. This is the default behavior unless `--release` is specified. +| --release | Deploy a release build +| --noprepare | Skip preparing --- End diff -- One slight caveat - just mention something like: [Available in cordova CLI 6.2 and above] Since we have a 6.x version of the docs - new features, flags need to be versioned inline. --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastructure@apache.org or file a JIRA ticket with INFRA. --- --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@cordova.apache.org For additional commands, e-mail: dev-help@cordova.apache.org