File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -398,27 +398,6 @@ export function createProgram(): Command {
398398 await getSnapshot ( { id, ...options } ) ;
399399 } ) ;
400400
401- snapshot
402- . command ( "prune" )
403- . description (
404- "Delete old snapshots for a devbox, keeping only recent ready ones" ,
405- )
406- . requiredOption (
407- "--source <devbox-id>" ,
408- "Source devbox ID to prune snapshots for" ,
409- )
410- . option ( "--dry-run" , "Show what would be deleted without actually deleting" )
411- . option ( "-y, --yes" , "Skip confirmation prompt" )
412- . option ( "--keep <n>" , "Number of ready snapshots to keep" , "1" )
413- . option (
414- "-o, --output [format]" ,
415- "Output format: text|json|yaml (default: text)" ,
416- )
417- . action ( async ( options ) => {
418- const { pruneSnapshots } = await import ( "../commands/snapshot/prune.js" ) ;
419- await pruneSnapshots ( options . source , options ) ;
420- } ) ;
421-
422401 snapshot
423402 . command ( "status <snapshot-id>" )
424403 . description ( "Get snapshot operation status" )
You can’t perform that action at this time.
0 commit comments