Skip to content

Show current variant #172

Open
Open
@ghost

Description

Background

The project does not keep any information about what variant was applied to the project. The only way to be of current variants is to call switch again or compare parameters.

Solution

Save the latest selected variant in .variant file when calling switch command and highlight the selected variant while running list command, for example:

  default
* dev
  qa

Content of the file .variant

version: 1.1.0
variant: default

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions