Can we hide a enum from CLI generation?

Hi Vidya,

The response to this similar question suggests there is no built-in way to hide an enum value from CLI:

But I think you could give it a try to register a custom completion callback for the leaf, e.g. with tailf:cli-completion-actionpoint, to replace the auto completion mechanism and only print the values you want to support.

Find more details about the completion()callback in the confd_lib_dp man page. If your are looking for implementation examples, I suggest navigating to the examples.confd/ directory and grep e.g. for “confd_action_reply_completion”.