cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Daniel Gibbs (JIRA)" <>
Subject [jira] [Created] (CB-12513) Display error when unknown sub-command used with `cordova platform`
Date Mon, 27 Feb 2017 23:05:45 GMT
Daniel Gibbs created CB-12513:

             Summary: Display error when unknown sub-command used with `cordova platform`
                 Key: CB-12513
             Project: Apache Cordova
          Issue Type: Improvement
          Components: CLI
    Affects Versions: 6.3.1
         Environment: Mac OS X 10.11.6
            Reporter: Daniel Gibbs

When entering an invalid sub-command using with {{cordova platform}}, I expect feedback that
the command entered was invalid. Specifically, visual feedback like a red error message.

*Use case*

I accidentally entered {{cordova platform prepare ios}} instead of {{cordova prepare ios}}
amongst many other commands and did not notice that it didn't succeed and spent far too much
time trying to track down the problem.

*Reproduction steps*

# Execute {{cordova platform prepare ios}}.

*Expected result*

An error message telling me that {{prepare}} is an invalid/unknown command, displayed in a
distinguishable color (e.g. red).

*Actual result*

A list of available platforms, displayed in the default color.

This message was sent by Atlassian JIRA

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message