The UI and logic related to environment and variables management in Advanced REST Client.
npm i @advanced-rest-client/arc-environment
variables-overlay renders an overlay with a list of variables in the current environment. The
environment-selector renders an UI to select an environment. The
variables-list renders a basic list of variables.
All of these elements are powered by
@advanced-rest-client/arc-models which acts as a context store for the environments and variables.
VariablesProcessor is a class that processes input to look for variables and replaces them in the input. This is used in ARC to process the request data.
VariablesConsumerMixin can be used to extend a ListElement base to provide the element with functions and variables related to environments and variables.
git clone https://github.com/advanced-rest-client/arc-actions cd arc-actions npm install
Running the demo locally
Running the tests