Can i suppress possible match completions in CLI

is there any way so that i can suppress or hide possible match completions in “i” style cli.
when i do show on my list in completions im getting all the config false leaf as “possible match completions” but i want to avoid this, i want only the key leaf to be displayed in “possible completions”.

Refer to the following YANG annotation:

    Specifies that the CLI engine should not provide match completion for the key leafs in the list.
    Used in J-, I- and C-style CLIs.
    The cli-no-match-completion statement can be used in: list, tailf:symlink, and refine.

You can also achieve the same using clispec:


    The "noMatchCompletion" element tells the CLI to not provide match completion for a given element path for show commands.
1 Like