shrijan00003 / restler

A Simple file and git compatible rest client
6 stars 1 forks source link

Enhancement: Support environment with -e flag #15

Closed shrijan00003 closed 2 weeks ago

shrijan00003 commented 2 weeks ago

Description

Currently, we can change the environment with the config.yaml file.

Env: env-file-name

If you need to change the environment frequently, you can use -e flag to change the environment for the current request.

For example,

restler post -e dev articles # --env or -e  flag for post command

This command should load dev.yaml environment for request articles.post.yaml

Documentation

Please don't forget to update the documentation on Readme with its implementation.