You can use the “hide” element in the clispec. From the clasped man-page:
/clispec/$MODE/modifications/hide
The “hide” element makes it possible to hide a built-in command
Attributes:
src (cmdpathType)
The “src” attribute is mandatory. It specifies which command to hide. cmdpathType is a space-separated list of commands, pointing out a specific sub-command.
nfvis# show ?
Possible completions:
cli Display cli settings
confd-state Display ConfD status information
debug-logs Display debug logs
history Display CLI command history
jobs Display background jobs