link

package
v0.0.0-...-059d9f2 Latest Latest
Warning

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

Go to latest
Published: Dec 1, 2026 License: MIT Imports: 31 Imported by: 1 module, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCmd

func NewCmd(f *cmdutil.Factory) *cobra.Command

func NewCobraCmd

func NewCobraCmd(link *LinkCmd, f *cmdutil.Factory) *cobra.Command

Types

type LinkCmd

type LinkCmd struct {
	Io                    *iostreams.IOStreams
	GetWorkDir            func() (string, error)
	FileReader            func(path string) ([]byte, error)
	LookPath              func(bin string) (string, error)
	IsDirEmpty            func(dirpath string) (bool, error)
	CleanDir              func(dirpath string) error
	WriteFile             func(filename string, data []byte, perm fs.FileMode) error
	OpenFile              func(name string) (*os.File, error)
	RemoveAll             func(path string) error
	Rename                func(oldpath string, newpath string) error
	EnvLoader             func(path string) ([]string, error)
	Stat                  func(path string) (fs.FileInfo, error)
	Mkdir                 func(path string, perm os.FileMode) error
	CommandRunner         func(f *cmdutil.Factory, comm string, envVars []string) (string, error)
	CommandRunInteractive func(f *cmdutil.Factory, comm string) error
	ShouldConfigure       func(info *LinkInfo) bool
	ShouldDevDeploy       func(info *LinkInfo, msg string, defaultYes bool) bool
	DeployCmd             func(f *cmdutil.Factory) deploy.ExternalDeployer
	DevCmd                func(f *cmdutil.Factory) *dev.DevCmd
	BuildCmd              func(f *cmdutil.Factory) *build.BuildCmd
	F                     *cmdutil.Factory
}

func NewLinkCmd

func NewLinkCmd(f *cmdutil.Factory) *LinkCmd

type LinkInfo

type LinkInfo struct {
	Name   string
	Preset string

	PathWorkingDir string
	GlobalFlagAll  bool

	Auto bool

	Sync          bool
	SkipFramework bool
	Local         bool
	AliasEnv      bool
	// contains filtered or unexported fields
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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