If user tries to modify configuration through a CLI, can we ask a confirmText?
CLI is defined through yang, not through Clispec.
Tried playing around with “/clispec/$MODE/modifications/confirmText” by providing yang CLI path for “src” attribute.
Didn’t work.
I assume that by “CLI” you mean what I would call “CLI command” (CLI == “Command Line Interface” in my dictionary.) There is no way to get a confirmation prompt for all CLI commands, and it would be a bit silly, since there is no actual modification of the configuration until you issue a “commit” command. You can get a confirmation prompt on “commit” by registering a validation callback that returns CONFD_VALIDATION_WARN, see the description for confd_register_valpoint_cb() in the confd_lib_dp(3) manual page.