microsoft / dev-proxy

Dev Proxy is an API simulator that helps you effortlessly test your app beyond the happy path.
https://aka.ms/devproxy
MIT License
457 stars 53 forks source link

Add new config command to easily open devproxyrc.json #806

Closed mwiedemeyer closed 2 weeks ago

mwiedemeyer commented 3 weeks ago

I would like to add a new command config which automatically opens the devproxyrc.json in the default editor. This would make it a lot easier for new developers to find the file. The documentation here does not mention how to find the file. Instead it only says:

In the Dev Proxy installation folder, open devproxyrc.json in a text editor.

So with the new command it would be a lot easier, because the documentation can say:

Run devproxy config to open devproxyrc.json in a text editor

waldekmastykarz commented 2 weeks ago

Thank you for this PR. It'll definitely make it easier to update the default config. We've been hesitant to add in the past because it depends on the developer's file association, but thinking about it some more, it's a fair game to assume that folks have file associations configured on their machine. We'll process it asap. Thanks again!

mwiedemeyer commented 2 weeks ago

Awesome, thank you.