Newman: Have a dedicated command to show up local env-info

Created on 30 Sep 2019  路  11Comments  路  Source: postmanlabs/newman

As of now, the users are required to provide information concerning their local environment while submitting bug reports. It would be nice to have a dedicated command that would ease the respective workflow.

Proposed API

newman info

Environment Info:

  System:
    OS: Linux 5.0 Ubuntu 19.04 (Disco Dingo)
    CPU: (4) x64 Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz
  Binaries:
    Node: 12.8.1 - /usr/local/bin/node
    Yarn: 1.17.0-0 - /usr/local/bin/yarn
    npm: 6.11.3 - /usr/local/bin/npm
  Browsers:
    Chrome: 77.0.3865.75
    Firefox: 69.0
  npmGlobalPackages:
    newman: 4.5.4
feature request

All 11 comments

@shamasis if this feature is not in the pipeline, i would like to work on this. Thanks.

Hey @adrijshikhar

Did you start working on this? 馃榿

Not yet, but if this feature is required then I would really like to work on this.

All contributions to the project are welcome 馃榿

I think a better idea would be to add a line about please paste the output of npx envinfo --system --npmGlobalPackages newman -binaries --browsers to the issue template rather than adding it to the CLI.

I think newman info is more intuitive for a user. Easy to remember and easy to communicate. Under the hood, the working might be the same but if we look through the perspective of engaging the user in the product then giving him short simple command would be nice. The user would feel that using this is handy because not everyone is very fond of big command lines. What say?

@DannyDainton what are your views about the feature? I am planning to work on this.

Sounds good.

Looking forward to seeing what you come up with 馃弳

Sounds nice.
I will get right on it.

What would a better option?

  1. use the npm module to print system information
  2. use inbuild function such as inxi to print system information
    @DannyDainton Please give some insights on this one

This is a great idea but a simple CLI tool like Newman doesn't have a lot of OS/environment-specific dependencies.

Currently (+historically), the only thing we need to debug an issue is newman -v. 馃槄

Was this page helpful?
0 / 5 - 0 ratings