added

Creating and managing preview environments

You can now use the mabl cli to dynamically create and delete environments, URLs, and link agents.

With this release you can, create new environments:

mabl environments create --name <environment_name> --application-id <app_id> --app-url <web_url> --workspace-id <mabl_workspace_id> --link <agent_name> --variables <var1:value1, var2:value2> --preview true

Associate additional applications and urls with existing environments:

mabl environments urls add <environment_id> --application-id <app_id> --app-url <web_url> --api-url <api_url>

And delete existing environments and link agents.

mabl environments delete <environment_id>
mabl link-agents delete <link_agent_name>

Among other uses, putting these commands together makes it easy to script the creation and tear down of preview environments in mabl. For more details, see our preview environments help doc: https://help.mabl.com/docs/preview-environments