Documentation
¶
Overview ¶
Package restore provides the `codexsm restore` command.
Index ¶
- func InteractiveConfirmRestore(cmd *cobra.Command, count int) (bool, error)
- func NewCommand(resolveSessionsRoot func() (string, error), ...) *cobra.Command
- func PrintRestorePreview(cmd *cobra.Command, candidates []session.Session, mode ops.PreviewMode, ...)
- func PrintRestoreSummary(cmd *cobra.Command, s usecase.RestoreSummary)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
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 PrintRestoreSummary ¶
func PrintRestoreSummary(cmd *cobra.Command, s usecase.RestoreSummary)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.