Skip to content

Show current variant #172

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

Activity

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

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