You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by ja...@apache.org on 2019/04/27 15:10:54 UTC

[cordova-cli] branch janpio-patch-2 created (now 63e2fb8)

This is an automated email from the ASF dual-hosted git repository.

janpio pushed a change to branch janpio-patch-2
in repository https://gitbox.apache.org/repos/asf/cordova-cli.git.


      at 63e2fb8  fix some subcommands and platforms

This branch includes the following new commits:

     new 63e2fb8  fix some subcommands and platforms

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org


[cordova-cli] 01/01: fix some subcommands and platforms

Posted by ja...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

janpio pushed a commit to branch janpio-patch-2
in repository https://gitbox.apache.org/repos/asf/cordova-cli.git

commit 63e2fb8c3c0e97624c9211311bfc5875da6b15fc
Author: Jan Piotrowski <pi...@gmail.com>
AuthorDate: Sat Apr 27 17:10:47 2019 +0200

    fix some subcommands and platforms
---
 doc/readme.md | 24 ++++++++----------------
 1 file changed, 8 insertions(+), 16 deletions(-)

diff --git a/doc/readme.md b/doc/readme.md
index bd74dcf..0321815 100644
--- a/doc/readme.md
+++ b/doc/readme.md
@@ -39,7 +39,7 @@ These commands are available at all times.
 | Command  | Description
 |----------|--------------
 | create | Create a project
-| help <command> | Get help for a command
+| help `<command>` | Get help for a command
 | telemetry | Turn telemetry collection on or off
 | config | Set, get, delete, edit, and list global cordova options
 
@@ -224,7 +224,7 @@ cordova {platform | platforms} [
 |     | --link=`<path>`          | When `<platform-spec>` is a local path, links the platform library directly instead of making a copy of it (support varies by platform; useful for platform development)
 | remove `<platform>` [...] |    | Remove specified platforms |
 |     | --nosave                 | Do not delete specified platforms from `config.xml` & `package.json` after removing them |
-| update `platform` [...] |      | Update specified platforms |
+| update `<platform>` [...] |      | Update specified platforms |
 |     | --save                   | Updates the version specified in `config.xml` |
 | list |                         | List all installed and available platforms |
 | check |                        | List platforms which can be updated via cordova-cli with the command `platform update` |
@@ -248,19 +248,11 @@ There are a number of ways to specify a platform:
 
 ### Supported Platforms
 
-- Android
-- iOS
-- Windows (8.1, Phone 8.1, UWP - Windows 10)
-- Blackberry10
-- Ubuntu
-- Browser
-
-### Deprecated Platforms
-
-- Amazon-fireos (use Android platform instead)
-- WP8 (use Windows platform instead)
-- Windows 8.0 (use older versions of cordova)
-- Firefox OS (use older versions of cordova)
+- `android`
+- `ios`
+- `windows`
+- `browser`
+- `electron`
 
 ### Examples
 
@@ -325,7 +317,7 @@ cordova {plugin | plugins} [
 |       |--link                   | When installing from a local path, creates a symbolic link instead of copying files. The extent to which files are linked varies by platform. Useful for plugin development.
 |       |--nosave                 | Do NOT save the `<plugin-spec>` as part of the `plugin` element  into `config.xml` or `package.json`.
 |       |--force                  | _Introduced in version 6.1._ Forces copying source files from the plugin even if the same file already exists in the target directory.
-| remove `<pluginid>|<name>` [...]| | Remove plugins with the given IDs/name.
+| remove `<pluginid>` or remove `<name>` [...] | | Remove plugins with the given IDs/name.
 |       |--nosave                 | Do NOT remove the specified plugin from config.xml or package.json
 |list                           |  | List currently installed plugins
 |save                           |  | Save `<plugin-spec>` of all plugins currently added to the project


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org