del

package
v0.3.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 15, 2026 License: BSD-3-Clause Imports: 10 Imported by: 0

Documentation

Overview

Package del provides the `codexsm delete` command.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InteractiveConfirmDelete

func InteractiveConfirmDelete(cmd *cobra.Command, count int, hard bool) (bool, error)

func NewCommand

func NewCommand(
	resolveSessionsRoot func() (string, error),
	resolveTrashRoot func() (string, error),
	resolveLogFile func() (string, error),
	runtimeAuditSink usecase.AuditSink,
	nowFn func() time.Time,
) *cobra.Command

NewCommand builds the delete command.

func PrintDeletePreview

func PrintDeletePreview(cmd *cobra.Command, candidates []session.Session, hard bool, mode ops.PreviewMode, previewLimit int)

func PrintDeleteSummary

func PrintDeleteSummary(cmd *cobra.Command, s session.DeleteSummary)

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL