confirm

package
v0.8.0 Latest Latest
Warning

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

Go to latest
Published: Mar 24, 2026 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Overview

Package confirm prompts the user to confirm an export plan before execution.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Export

func Export(cmd *cobra.Command, plan entity.ExportPlan) (bool, error)

Export prints the plan summary and prompts for confirmation.

Parameters:

  • cmd: Cobra command for output.
  • plan: the export plan to summarize.

Returns:

  • bool: true if the user confirms.
  • error: non-nil if reading input fails.

Types

This section is empty.

Jump to

Keyboard shortcuts

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