confirmation

package
v1.9.0 Latest Latest
Warning

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

Go to latest
Published: Apr 17, 2026 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ConfirmDestructiveOperation

func ConfirmDestructiveOperation(prompt string, force bool) (bool, error)

ConfirmDestructiveOperation prompts the user for confirmation before a destructive operation. It returns true if the operation should proceed. The prompt is skipped (returns true) when force is set or agent mode is active.

Types

This section is empty.

Jump to

Keyboard shortcuts

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