TWSD-1118 : “clear directory var” CLI command is highly destructive, the popup should not only warn the user but also list the exact files/directories that will be deleted so they know what’s at stake before confirming.

Review Request #1358 — Created Feb. 2, 2026 and submitted — Latest diff uploaded

apatil
APV10
rel_apv_10_7_3
TWSD-1118
mmiriam, peteryeh, pradeep, tanya

The "clear directory var" CLI command is destructive and only showed a generic confirmation warning, making it easy for users to understand the impact, I have enhanced the confirmation popup to list the exact files and directories that will be deleted and giving users clear visibility into what will be removed before confirming.

vAPV(config)#clear directory var
WARNING: This operation will permanently delete files from:
/var/crash and /var/crash/statmon
The following file types will be removed:
.core
.rrd
*.out
Type "YES" to confirm the deletion:

    Loading...