Uploaded image for project: 'Aesh'
  1. Aesh
  2. AESH-305

Commands listed with no disernable order during tab completion

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 0.58
    • None
    • None
    • None

      The following CommandRegistry lists https://gist.github.com/brmeyer/6114cc5f7a820e39d317 for tab completion. There doesn't appear to be any disernable ordering. Could it, by default, be alphabetical or in the order it was added to the registry?

              CommandRegistry registry = new AeshCommandRegistryBuilder()
                      // aesh-extensions
                      .command(Echo.class)
                      .command(Exit.class)
                      // artificer core
                      .command(ClassificationCommand.class)
                      .command(ConnectCommand.class)
                      .command(CreateArtifactCommand.class)
                      .command(DeleteCommand.class)
                      .command(DeleteContentCommand.class)
                      .command(DisconnectCommand.class)
                      .command(GetContentCommand.class)
                      .command(GetMetaDataCommand.class)
                      .command(PropertyCommand.class)
                      .command(QueryCommand.class)
                      .command(RefreshMetaDataCommand.class)
                      .command(ShowMetaDataCommand.class)
                      .command(StatusCommand.class)
                      .command(UpdateContentCommand.class)
                      .command(UpdateMetaDataCommand.class)
                      .command(UploadArtifactCommand.class)
                      // artificer groups
                      .command(ArchiveCommands.class)
                      .command(AuditCommands.class)
                      .command(MavenCommands.class)
                      .command(OntologyCommands.class)
                      .command(StoredQueryCommands.class)
      
                      .create();
      

              spederse@redhat.com Stale Pedersen
              brmeyer_jira Brett Meyer (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: