Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 0B6FC200C10 for ; Fri, 3 Feb 2017 21:08:09 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 0A1C5160B55; Fri, 3 Feb 2017 20:08:09 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 562CC160B3F for ; Fri, 3 Feb 2017 21:08:08 +0100 (CET) Received: (qmail 37423 invoked by uid 500); 3 Feb 2017 20:08:07 -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 37402 invoked by uid 99); 3 Feb 2017 20:08:07 -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; Fri, 03 Feb 2017 20:08:07 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id 206EDDFBE6; Fri, 3 Feb 2017 20:08:07 +0000 (UTC) From: audreyso To: dev@cordova.apache.org Reply-To: dev@cordova.apache.org References: In-Reply-To: Subject: [GitHub] cordova-cli pull request #267: CB: 11982 -Created new cordova config command Content-Type: text/plain Message-Id: <20170203200807.206EDDFBE6@git1-us-west.apache.org> Date: Fri, 3 Feb 2017 20:08:07 +0000 (UTC) archived-at: Fri, 03 Feb 2017 20:08:09 -0000 Github user audreyso commented on a diff in the pull request: https://github.com/apache/cordova-cli/pull/267#discussion_r99413111 --- Diff: doc/config.txt --- @@ -0,0 +1,20 @@ +Synopsis + + cordova-cli config [options] + + +The config command can be used to set, get, delete, and edit the +contents of the user files. + +Options +--set .............................. Sets the config key to the value.If value is omitted, then it sets it to "true". +--get ...................................... Echo the config value to stdout. +--delete ................................... Deletes the key from all configuration files. +--edit ........................................... Opens the config file in an editor. + +Example + +cordova-cli config set --> cordova config set autosave true +cordova-cli config get --> cordova config get autosave +cordova-cli config delete --> cordova config delete autosave +cordova-cli config edit --> cordova config edit --- End diff -- will need to add in "ls" command --- 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