CLI reference / disk-cleanup

stado disk-cleanup

Invocation

stado disk-cleanup [OPTIONS]

Purpose

Run registry-authorized cleanup for this local target

Required inputs and options

Input or optionContract
--onceRun one interval-gated cleanup check (default)
--watchContinuously check at the canonical policy interval
--to-targetRun one bounded enforcing pass toward the declared target even when the host is already above its low watermark
--dry-runPlan a pass and delete nothing: same policy, same scan, an `enforce` policy pinned to the janitor's own report mode

Output and state effect

It performs the operation described above and emits its operator result on standard output or standard error. Any state change is limited to the resources and records named by the purpose and options on this page.

Refusals

  • Before dispatch, Stado refuses a missing required token shown in the invocation, an unknown option, or a value outside a listed value set; argument-usage failures exit with code 2.