Versions in this module Expand all Collapse all v0 v0.1.1 Mar 21, 2026 v0.1.0 Mar 21, 2026 Changes in this version + var ErrSkipped = errors.New("skipped") + func CheckArgs(manager, pkg string) []string + type Action interface + Describe func() string + Run func(ctx context.Context, dryRun bool) error + type BinaryAction struct + InstallTo string + Name string + SourceURL string + Version string + func (a *BinaryAction) Describe() string + func (a *BinaryAction) Run(ctx context.Context, dryRun bool) error + type DirectoryAction struct + Destination string + Direction string + Link bool + Permissions string + Source string + func (a *DirectoryAction) Describe() string + func (a *DirectoryAction) IsApplied(ctx context.Context) (bool, error) + func (a *DirectoryAction) ResolvedDir() string + func (a *DirectoryAction) ResolvedTarget() string + func (a *DirectoryAction) Run(ctx context.Context, dryRun bool) error + type FileAction struct + AgeKey *ageutil.Key + Destination string + Direction string + Encrypted bool + Link bool + Permissions string + Source string + func (a *FileAction) Describe() string + func (a *FileAction) IsApplied(ctx context.Context) (bool, error) + func (a *FileAction) PermissionsStatus() string + func (a *FileAction) ResolvedDir() string + func (a *FileAction) ResolvedTarget() string + func (a *FileAction) Run(ctx context.Context, dryRun bool) error + type Idempotent interface + IsApplied func(ctx context.Context) (bool, error) + type PackageAction struct + Manager string + Package string + func (a *PackageAction) Describe() string + func (a *PackageAction) IsApplied(ctx context.Context) (bool, error) + func (a *PackageAction) Run(ctx context.Context, dryRun bool) error + type RunAction struct + After string + Command string + func (a *RunAction) Describe() string + func (a *RunAction) Run(ctx context.Context, dryRun bool) error + type ScriptAction struct + Script string + Via string + func (a *ScriptAction) Describe() string + func (a *ScriptAction) Run(ctx context.Context, dryRun bool) error + type SettingAction struct + Domain string + Key string + Value any + func (a *SettingAction) Describe() string + func (a *SettingAction) Run(ctx context.Context, dryRun bool) error