Closed
Description
I've trouble setting a default environment. I tried your example hook (https://httpyac.github.io/plugins/plugin-api.html#provideenvironmentshook) but this seems to just return a list of possible envs? I thought with that running httpyac test.http -e dev,prev
could be simplified to just httpyac test.http
. Any advice how else this could be achieved?
As I could see this could be a feature demanded quite often, what about 'native' support with sth like:
{
"$shared": {
"host": "https://mydoman"
},
"$default": "dev",
"dev": {
"user": "mario",
"password": "123456"
},
"prod": {
"user": "mario",
"password": "password$ecure123"
}
}
Metadata
Assignees
Labels
No labels
Activity