Show command for operational data

Hi,
The show command is capable to be issued for any data node which is defined in yang model.
For example, the RFC7317 ietf-interface yang model, user is capable to issue the command to retrieve specific leaf value like show interfaces interface foo description, so I would like to know if there is a way to disallow user to issue leaf name but only for list and container, for example show interfaces interface foo but error reports when issue show interfaces interface foo description.
Thanks for helping on this.

You may try to use one of cli annotations, e.g. tailf:cli-full-command and tailf:cli-full-no annotations added to the list.

See ConfD user guide: tailf_yang_cli_extensions

thanks, that is quite useful.