Documentation
¶
Index ¶
- func Before(ctx context.Context, c *cli.Command) (context.Context, error)
- func DoInstall(ctx context.Context, opts *Options) error
- func Execute(ctx context.Context, c *cli.Command) error
- func Flags() []cli.Flag
- func NewSource(src string, opts *provider.Options) (provider.ISource, error)
- type Options
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Options ¶ added in v1.10.0
type Options struct {
App string
Version string
OS string
Arch string
Force bool
Config *config.Config
GitHubToken string
GitLabToken string
ForgejoToken string
NoSignatureVerify bool
NoChecksumVerify bool
NoScoreCheck bool
IncludePreReleases bool
UseDistCache bool
DistCacheURL string
Logger zerolog.Logger
}
Options holds the parameters for a single install operation.
Click to show internal directories.
Click to hide internal directories.