Skip to content

Enhancement: retrieve default environment for pa environment get #4491

@milanholemans

Description

@milanholemans

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

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions