Skip to content

Update the way of getting default objects #6545

Open
@milanholemans

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions