cordova-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From omefire <...@git.apache.org>
Subject [GitHub] cordova-cli pull request: Update help docs - add examples and make...
Date Tue, 26 Jan 2016 20:34:50 GMT
Github user omefire commented on a diff in the pull request:

    https://github.com/apache/cordova-cli/pull/232#discussion_r50895798
  
    --- 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
    --- End diff --
    
    'Commit/tag/branch'


---
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


Mime
View raw message