Skip to content

Improve CLI usage documentation on windows #1336

Open
@breautek

Description

@breautek

On windows using Command Prompt or Powershell, when we need to use the intermediate -- to pass through arguments, the -- needs to be enclosed in quotations

For example:

cordova build android --release "--" --packageType=apk

All of our examples show MacOS / Linux usage. This is something I personally help people resolve in discussions/slack, but can also be a source of bug reports.

Below is a list of links that I found that uses pass through CLI args, but this list may not be exhaustive.

https://cordova.apache.org/docs/en/12.x/reference/cordova-cli/index.html
https://cordova.apache.org/docs/en/12.x/guide/platforms/android/index.html

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions