Uploaded image for project: 'Apache Cordova'
  1. Apache Cordova
  2. CB-13428

CLI `help` command is not consistent

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: cordova-cli
    • Labels:
      None

      Description

      Example:

      > cordova help build
      Synopsis
      
          cordova build [PROD] [TARGET] [PLATS] [BUILDCONFIG] [-- POPTS]
      
            PROD:   --debug|--release
            ...
      

      vs.

      > cordova help run
      Synopsis
      
          cordova run [MODE] [BUILDOPTS] [TARGET] [PLATS] [BUILDCONFIG] [-- POPTS]
      
            MODE:        --list|--debug|--release
            ...
      

      Once the "group" of params is called "PROD", once "MODE".

      Should check whole `help` documentation.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              Sujan12 Jan Piotrowski (janpio)
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: