[
https://issues.apache.org/jira/browse/CB-12513?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Daniel Gibbs updated CB-12513:
------------------------------
Priority: Minor (was: Major)
> Display error when unknown sub-command used with `cordova platform`
> -------------------------------------------------------------------
>
> Key: CB-12513
> URL: https://issues.apache.org/jira/browse/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
> Priority: Minor
>
> 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
(v6.3.15#6346)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]