matt-ball / postman-local

A client to facilitate local development of scripts for Postman.
Apache License 2.0
70 stars 6 forks source link

Unable to import environment other than localhost #31

Closed Mococa19 closed 4 years ago

Mococa19 commented 4 years ago

I have two environment, localhost and heroku. Every time I run pm bootstrap, only localhost environment is getting retrieved in IDE.

matt-ball commented 4 years ago

Hi @kindlednotes - thanks for raising an issue. Right now the CLI only supports you sync'ing and updating 1 environment. But you've given me an idea, so watch this space 😄

Mococa19 commented 4 years ago

Hi,

Thanks for your response. I would like to know if we are also able run this script from IDE as a project.

Thanks, Tania Choudhury

On Tue, 14 Jul, 2020, 3:04 am Matt Ball, notifications@github.com wrote:

Hi @kindlednotes https://github.com/kindlednotes - thanks for raising an issue. Right now the CLI only supports you sync'ing and updating 1 environment. But you've given me an idea, so watch this space 😄

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/matt-ball/postman-cli/issues/31#issuecomment-657805157, or unsubscribe https://github.com/notifications/unsubscribe-auth/AGKEO4Y76T2VIUGNZQ7FHPTR3N4XLANCNFSM4OYV5HOA .

matt-ball commented 4 years ago

Yes, if you use postman sync it'll update the postman_collection.json file for you. You can use that with Newman https://github.com/postmanlabs/newman (Postman's headless collection runner)

matt-ball commented 4 years ago

Hey @kindlednotes - please try 0.1.1 - you may have to start from scratch. You can select multiple environments now when you run postman setup. Feel free to open another issue if you run into trouble!