Skip to content

[feature] organize environments using groups --group|-g #2432

@AllanOricil

Description

@AllanOricil

The inspiration came from Organizer and kubectl

The group identifies the company
image

image
sf auth:web:login -a foo -g bar => add environment to group
sf org:list -g bar => display all environments from group

It is like the namespace flag in kubectl

Use cases:

  1. I can use the same aliases for the main environments (dev, qa, prod)

This would be possible
group: customer_1
enviroments: dev, qa, prod (aliases)

group: customer_2
environments: dev, qa, prod (aliases)

Instead of
customer_1_dev
customer_2_dev

  1. running sfdx force:org:display will no longer be necessary to determine the customer the environment belongs to
  2. group scratch orgs from multiple devhubs

Metadata

Metadata

Assignees

No one assigned

    Labels

    more information requiredIssue requires more information or a response from the customer

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions