Skip to content

Update the way of getting default objects #6545

Description

@milanholemans

Change the way to retrieve default objects

As decided in #6493, we've decided to take another route to get a default value from a command.

Right now, some commands return a default value when you don't specify any options. The idea is that the user should specify --default to get a default object.

Options to add

Options Description
--default Get the default (list, environment, page, ...)

Commands to refactor

  • pp environment get
  • flow environment get
  • pa environment get
  • Check if there are more commands we should update with this change

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