[
https://issues.apache.org/jira/browse/CB-12692?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15989982#comment-15989982
]
Kerri Shotts commented on CB-12692:
-----------------------------------
Mmm... totally agree here; {{-v}} should only ever report version numbers.
However, I would want dev consensus on this before changing current behavior.
> version output
> --------------
>
> Key: CB-12692
> URL: https://issues.apache.org/jira/browse/CB-12692
> Project: Apache Cordova
> Issue Type: Bug
> Components: CLI
> Environment: All
> Reporter: Sean Newell
> Priority: Minor
> Original Estimate: 6h
> Remaining Estimate: 6h
>
> When doing an npm install cordova, and then typing cordova -v, only the
> version number should be outputted. It's strange and seemingly unique
> behavior to show the telemetry warning.
> There are some issues on the ionic CLI team's github page
> (https://github.com/driftyco/ionic-cli/issues/1376 and
> https://github.com/driftyco/ionic-cli/issues/1175) with a PR to regex parse
> it (https://github.com/driftyco/ionic-app-lib/pull/141) from ionic's end, but
> I actually don't think that should be necessary.
> Feel free to disagree and close this, but I'm not aware of any other npm
> package that outputs anything other than the version number with -v /
> --version.
> If the telemetry warning is important, it might take longer to resolve the
> issue. But in my mind that's a separate issue, perhaps remove the telemetry
> warning entirely from -v output, and then open a new issue about the
> telemetry warning...?
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]