Skip to main content

Module delete

Module delete 

Source
Expand description

Implementation of the delete sub-command.

Supports two modes:

  • delete <JOB_ID>: remove one explicit job directory (non-running only).
  • delete --all [--dry-run]: remove all terminal jobs whose persisted meta.json.cwd matches the caller’s current working directory.

--dry-run may be combined with either mode to report actions without removing any directories.

Structs§

DeleteOpts
Options for the delete sub-command.

Functions§

execute
Execute delete: dispatch to single-job or bulk mode.