Github user rakatyal commented on a diff in the pull request:
https://github.com/apache/cordova-cli/pull/232#discussion_r50895227
--- Diff: doc/platform.txt ---
@@ -4,48 +4,45 @@ Synopsis
Manage project platforms
- add <plat-spec> [...].............. add specified platforms
- --save ........................ save specified platforms into
config.xml after installing them
+ add <plat-spec> [...].............. Add specified platforms
+ --save ........................ Save specified platforms into
config.xml after installing them
- --link ........................ when <plat-spec> is a local path,
links the platform
+ --link ........................ When <plat-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
- --save ........................ delete specified platforms from
config.xml after removing them
+ remove <platform> [...] ........... Remove specified platforms
+ --save ........................ Delete specified platforms from
config.xml after removing them
- list .............................. list all installed and available
platforms
- update <plat-spec> ................ update the version of Cordova used
for a specific platform;
- update to the latest <version> if
no <version>, <path> or <url> is specified
+ update <plat-spec> ................ Update the version of Cordova used
for a specific platform;
+ update to the latest <version> if
no <plat-spec> is specified
- --save ........................ save the latest versions for
specified platforms into config.xml
+ --save ........................ Save the latest versions for
specified platforms into config.xml
- check ............................. list platforms which can be
updated by `cordova-cli platform update`
+ list .............................. List all installed and available
platforms
+ check ............................. List platforms which can be
updated by `cordova-cli platform update`
Syntax
- <plat-spec>:
- <platform-ver>|<path>|<git-url>
-
- <platform-ver>:
- <platform>[@<version>]
-
- <git-url>:
- <url>[#<branch>]
-
- <platform> ........................ platform (typically from npm
registry)
-
- <path> ............................ path to a directory containing a
platform
- name of platform to be retrieved
from npm registry
-
- <url> ............................. url to a git repository containing
a platform
-
- <version> ......................... major.minor.patch version specifier
-
- <branch> .......................... name of the branch to checkout
after cloning the git repo
- if none is specified, the 'master'
branch will be checked out
-aliases:
+ <plat-spec> : <platform>[@<version>]|<path>|<url>[#<commit-ish>]
+
+ <platform> ........................ Platform name e.g. android, ios,
windows etc.
+ <path> ............................ Path to a directory containing a
platform
+ <url> ............................. Url to a git repository containing
a platform
+ <version> ......................... Major.minor.patch version
specifier using semver
+ <commit-ish> ...................... Commit/tag reference. If none is
specified, 'master' is used
+
+Aliases
platforms -> platform
rm -> remove
ls -> list
+
+Examples
--- End diff --
Can we have an example for multiple platform add/delete as well?
---
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 [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]