cli

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Mar 9, 2026 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckConfirm

func CheckConfirm(cmd *cobra.Command) error

CheckConfirm validates confirmation for destructive operations

func GetProfile

func GetProfile() string

GetProfile returns the profile name from flag, env, or config

func GetProjectID

func GetProjectID() string

GetProjectID returns the project ID from flag, env, or config

func GetTimeout

func GetTimeout() string

GetTimeout returns the timeout duration string

func IsDryRun

func IsDryRun() bool

IsDryRun returns whether dry-run mode is enabled

func RequireProject

func RequireProject(cmd *cobra.Command) error

RequireProject validates project ID is set

func SetDryRun

func SetDryRun(d bool)

SetDryRun sets the dry-run mode

func SetProfile

func SetProfile(p string)

SetProfile sets the profile from the flag

func SetProjectID

func SetProjectID(p string)

SetProjectID sets the project ID from the flag

func SetTimeout

func SetTimeout(t string)

SetTimeout sets the timeout from the flag

Types

This section is empty.

Jump to

Keyboard shortcuts

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