restore

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: 12 Imported by: 0

Documentation

Overview

Package restore provides the `codexsm restore` command.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InteractiveConfirmRestore

func InteractiveConfirmRestore(cmd *cobra.Command, count int) (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 restore command.

func PrintRestorePreview

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

func PrintRestoreSummary

func PrintRestoreSummary(cmd *cobra.Command, s usecase.RestoreSummary)

Types

This section is empty.

Jump to

Keyboard shortcuts

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