Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Path = sync.OnceValue(func() string { setupMu.Lock() defer setupMu.Unlock() if !setupDone { return "" } pathInitialized = true path := install() return path })
Functions ¶
Types ¶
type Config ¶
Config defines the inputs used to install and locate the embedded Copilot CLI.
Cli and CliHash are required. If Dir is empty, the CLI is installed into the system cache directory. Version is used to suffix the installed binary name to allow multiple versions to coexist. License, when provided, is written next to the installed binary.
Click to show internal directories.
Click to hide internal directories.