You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Sean Newell (JIRA)" <ji...@apache.org> on 2017/05/19 19:44:04 UTC

[jira] [Commented] (CB-12692) version output

    [ https://issues.apache.org/jira/browse/CB-12692?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16017915#comment-16017915 ] 

Sean Newell commented on CB-12692:
----------------------------------

[This function|https://github.com/apache/cordova-cli/blob/master/src/cli.js#L191] could be amended to include the `-v` command.

> version output
> --------------
>
>                 Key: CB-12692
>                 URL: https://issues.apache.org/jira/browse/CB-12692
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: cordova-cli
>         Environment: All
>            Reporter: Sean Newell
>            Priority: Trivial
>   Original Estimate: 0.5h
>  Remaining Estimate: 0.5h
>
> 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: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org