Documentation
¶
Overview ¶
Package cli implements the command-line interface for godoctor.
Index ¶
- func ExecuteInstall(opts InstallOptions, stdout, stderr io.Writer) error
- func ExecuteUninstall(opts UninstallOptions, stdout, stderr io.Writer) error
- func PrintHelp(w io.Writer, version string)
- func Run(ctx context.Context, version string, args []string, stdin io.Reader, ...) error
- type InstallOptions
- type ToolDef
- type UninstallOptions
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ExecuteInstall ¶
func ExecuteInstall(opts InstallOptions, stdout, stderr io.Writer) error
ExecuteInstall performs the installation according to the given options.
func ExecuteUninstall ¶
func ExecuteUninstall(opts UninstallOptions, stdout, stderr io.Writer) error
ExecuteUninstall performs the uninstallation according to the given options.
Types ¶
type InstallOptions ¶
type InstallOptions struct {
InstallMCP bool
InstallSkills bool
Workspace bool
Global bool
Force bool
Quiet bool
ConfigPath string
SkillsDir string
}
InstallOptions holds parsed options for the install command.
Click to show internal directories.
Click to hide internal directories.