Let's enhance pa environment get to retrieve the default environment when no name is specified.
Options to update
| Option |
Description |
-n, --name [name] |
The name of the environment. When not specified, the default environment is retrieved. |
Docs
Let's add another example to the docs to retrieve the default environment.
Additional info
By using the current API endpoint and appending ~default to the end instead of the environment name, we are able to retrieve the default environment.
Example: .../environments/~default
Let's enhance
pa environment getto retrieve the default environment when no name is specified.Options to update
-n, --name [name]Docs
Let's add another example to the docs to retrieve the default environment.
Additional info
By using the current API endpoint and appending
~defaultto the end instead of the environment name, we are able to retrieve the default environment.Example:
.../environments/~default