root

package
v0.1.23-oss Latest Latest
Warning

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

Go to latest
Published: Oct 3, 2026 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AskYesNo

func AskYesNo(ctx context.Context, s string) bool

func ReadLineWithContext

func ReadLineWithContext(ctx context.Context) (string, error)

Types

type RootCmd

type RootCmd struct {
	// A slice of all subcommands registered to this tool (e.g., run, status).
	Commands []cmd.ABFSCmd
	// contains filtered or unexported fields
}

func NewRootCommand

func NewRootCommand() *RootCmd

func (*RootCmd) Exec

func (r *RootCmd) Exec(ctx context.Context, fl *pflag.FlagSet) error

func (*RootCmd) RegisterFlags

func (c *RootCmd) RegisterFlags(fl *pflag.FlagSet)

func (*RootCmd) ResolveInstance

func (c *RootCmd) ResolveInstance() *instance.Instance

func (*RootCmd) Spec

func (r *RootCmd) Spec() cmd.CmdSpec

Jump to

Keyboard shortcuts

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