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

CLI - avoid required attributes to be hard to see when using tab completion

XMLWordPrintable

    • Icon: Feature Request Feature Request
    • Resolution: Done
    • Icon: Major Major
    • None
    • None
    • CLI
    • None

      This is follow up for WFCORE-2283 which marked required attributes by "*" when using tab completion. Still if there are many attributes, it's hard to see all required attributes, for example in:

      [standalone@localhost:9990 /] /subsystem=messaging-activemq/server=default/cluster-connection=my-cluster:add(
      !                              check-period                   connector-name*                max-retry-interval             notification-interval          retry-interval-multiplier
      allow-direct-connections-only  cluster-connection-address*    discovery-group*               message-load-balancing-type    producer-window-size           static-connectors*
      call-failover-timeout          confirmation-window-size       initial-connect-attempts       min-large-message-size         reconnect-attempts             use-duplicate-detection
      call-timeout                   connection-ttl                 max-hops                       notification-attempts          retry-interval  
      

      it's not clear at the first look how many required attributes there are.

      Suggestion is to group required attributes together and then provide list of other attributes, for example on the next line. Another options might be considered as well. For example to show required attributes when double pressing <tab>.

      Discussed on https://developer.jboss.org/wiki/CLI-BetterCompletionForArguments?et=watches.email.document_comment#comment-16622

              rhn-support-iweiss Ingo Weiss
              mnovak1@redhat.com Miroslav Novak
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated:
                Resolved: