set

package
v0.12.11 Latest Latest
Warning

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

Go to latest
Published: Jul 3, 2026 License: AGPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCmdSet

func NewCmdSet(f *cmdutil.Factory, validCommand shared.ValidCommandFunc, runF func(context.Context, *SetOptions) error) *cobra.Command

NewCmdSet creates the `clawker alias set` command.

Types

type SetOptions

type SetOptions struct {
	IOStreams    *iostreams.IOStreams
	Config       func() (config.Config, error)
	ValidCommand shared.ValidCommandFunc

	Name      string
	Expansion string
	Clobber   bool
}

SetOptions holds dependencies for the alias set command.

Jump to

Keyboard shortcuts

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