Uploaded image for project: 'Forge'
  1. Forge
  2. FORGE-209

Forge Shell should accept enums in command @Option parameters

    XMLWordPrintable

Details

    • Feature Request
    • Resolution: Done
    • Major
    • 1.0.0.Alpha2
    • None
    • None
    • None

    Description

      @Command("example")
      public void run(@Option EnumType choice)
      {
      }

      Should only allow valid enum selections, but should also provide tab-completion for said choices.

      Attachments

        Activity

          People

            lincolnthree Lincoln Baxter III (Inactive)
            lincolnthree Lincoln Baxter III (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: