ConfD User Community

CLI possible completions not listing all possible commands


I got two questions on ConfD possible completions:

  1. Is there any difference between tab- and ?-completion?
  2. When I’m on a specific node (not at top level) and tab, the CLI does not list all the possiblities. e.g., if I’m on a list item which contains another list, the tab-/?-completion only gives a few (ommiting those that are not built-in commands): commit, describe, exit, help, no, pwd, top. And the number of listed items is far below the defined completionShowMax. There are more commands such as insert, move, rename, abort, etc., that are supposed to be available via auto completion (and these are indeed executable on the node). So why? Is there any ConfD config that affects this behavior?


  1. No, they are the same, except that tab-completion also completes (or partially completes) your command if there is only one option.

  2. Have a look at the confd.conf option /confdConfig/cli/topLevelCmdsInSubMode - sounds like this is what you are looking for.

Appreciated! That answered all! :smile: