Skip to content

Enhancement: retrieve default environment for pa environment get #4491

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions