HI,
You can use the tailf:info YANG extension
container foo2 {
tailf:cli-sequence-commands;
leaf bar1 {
tailf:cli-drop-node-name;
type string;
description "bar1 info";
tailf:info "bar1 info";
}
leaf bar2 {
tailf:cli-drop-node-name;
type string;
description "bar2 info";
tailf:info "bar2 info";
}
}
See
- ConfD UG “Custom Help Texts and Error Messages”
- in the CLI chapter under “Help texts”
- in the confdc man page “–use-description”
- “tailf:info” in the tailf_yang_extensions man page