Skip to content

Numeric enums selection #6

@butvinm

Description

@butvinm

Add ability to choose enums items by numbers in addition to names

For example, for that enum

public enum Semester {
    FIFTH("fifth"),
    SIXTH("sixth"),
    SEVENTH("seventh"),
    EIGHTH("eighth");
}

CLI should output:

Choose semester:
0 - fifth
1 - sixth
2 - seventh
3 - eighth

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions