Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Goos = runtime.GOOS
Goos returns the operating system, can be mocked for testing
Functions ¶
func Execute ¶
func Execute(controllers ...controller.Controller) error
The Execute function is the main entry point for the Windsor CLI application. It provides initialization of core dependencies and command execution, The Execute function serves as the bootstrap mechanism for the CLI, establishing the dependency injection container and controller context.
Types ¶
type Shims ¶ added in v0.5.7
type Shims struct {
Exit func(int)
UserHomeDir func() (string, error)
Stat func(string) (os.FileInfo, error)
RemoveAll func(string) error
Getwd func() (string, error)
Setenv func(string, string) error
Command func(string, ...string) *exec.Cmd
Getenv func(string) string
}
Shims provides mockable wrappers around system and runtime functions
Source Files
¶
Click to show internal directories.
Click to hide internal directories.