pub fn reset_cmd(
yes: bool,
allow_checksum_drift_reset: bool,
maintenance_database: String,
workspace: Option<PathBuf>,
) -> ExitCodeExpand description
djogi db reset entry point.
yes: when true, the function does NOT prompt the operator —
the request flows straight into reset_app_database. When
false, the function prints a y/N prompt to stderr and reads
stdin; only an explicit y / yes answer (case-insensitive)
proceeds. Any other input refuses with the standard
ResetRefusal::NotConfirmed exit code.
maintenance_database defaults to "postgres" — the conventional
administrative DB present on every cluster — when the operator
supplies nothing more specific.