Skip to content

Improve hints around flag create #64

Description

@khvn26

Testers report confusion upon seeing this message:

matvei@macstream ~ % flagsmith flag list
No flags.
matvei@macstream ~ % flagsmith flag create
Error: flags exist per environment, so there is nothing to create
To create the feature itself, run `flagsmith feature create <feature>`.

It seems we can do a better job directing users to feature create, e.g.:

matvei@macstream ~ % flagsmith flag create
Error: flags can only be changed, not created.
To create a feature, run `flagsmith feature create <feature>`.
To change a flag, run `flagsmith flag update <feature>`.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions