How to specific a output file when converting from version 1 to version 2

551 Views Asked by At

Currently I was given a collection for postman, but it is using version 1 so I need to convert it to version 2 by using the plugin postman developed which this.

I followed exactly what they wrote and followed the command they gave but still is displaying this

Here is the image
I also tried to write the full directory
Here is the file that I am using

May know I why it is not reading my the output file that I already inserted.

1

There are 1 best solutions below

0
On

There are a few errors in your command (e.g. using -input instead of --input or keeping the <>), here's an example from the official GitHub repository:

$ postman-collection-transformer convert \
--input ./v1-collection.json \
--input-version 2.0.0 \
--output ./v2-collection.json \
--output-version 1.0.0 \
--pretty \
--overwrite

I'd recommend using this one replacing the values you need.