iterate

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Mar 26, 2026 License: MIT Imports: 18 Imported by: 0

Documentation

Overview

Package iterate provides the `clawker loop iterate` command.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCmdIterate

func NewCmdIterate(f *cmdutil.Factory, runF func(context.Context, *IterateOptions) error) *cobra.Command

NewCmdIterate creates the `clawker loop iterate` command.

Types

type IterateOptions

type IterateOptions struct {
	*shared.LoopOptions

	// Factory DI
	IOStreams      *iostreams.IOStreams
	TUI            *tui.TUI
	Client         func(context.Context) (*docker.Client, error)
	Config         func() (config.Config, error)
	ProjectManager func() (project.ProjectManager, error)
	HostProxy      func() hostproxy.HostProxyService
	Firewall       func(context.Context) (firewall.FirewallManager, error)
	SocketBridge   func() socketbridge.SocketBridgeManager
	Prompter       func() *prompter.Prompter
	Logger         func() (*logger.Logger, error)
	Version        string

	// Prompt source (mutually exclusive, one required)
	Prompt     string
	PromptFile string

	// Output
	Format *cmdutil.FormatFlags
	// contains filtered or unexported fields
}

IterateOptions holds options for the loop iterate command.

Jump to

Keyboard shortcuts

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