Uploaded image for project: 'WildFly Core'
  1. WildFly Core
  2. WFCORE-2283

Make 'required' attributes clearer when using tab completion within CLI

    Details

    • Type: Feature Request
    • Status: Resolved (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: 4.0.0.Alpha3
    • Component/s: CLI
    • Labels:
      None

      Description

      The following is some example output pressing tab to reveal the parameters of 'add': -

      {{[standalone@localhost:9990 /] ./subsystem=elytron/key-store=localhost:add(
      ! alias-filter credential-reference path provider-name providers relative-to required type }}

      From this is it not clear which are actually required.

      Suggestions to make it clearer: -

      • Show required / optional in different colours.
      • Add something to the required attributes e.g. '*'
      • Add something to the optional requirements e.g. {optional_arg}

      Maybe this can go one step further and take into account arguments already added by the user, especially where attributes require another attribute or are an alternative.

      Once an attribute is identified as being an alternative to another attribute maybe it should be omitted altogether from the list or maybe also have something adding to it !attr_name.

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  jdenise Jean Francois Denise
                  Reporter:
                  dlofthouse Darran Lofthouse
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  3 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: