Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DeployPacks ¶
func DeployPacks(opts DeployPacksOptions) (*types.ExecutionContext, error)
DeployPacks runs the deployment logic using the direct executor approach. It executes RunModeMany actions only (symlinks, shell profiles, path) while skipping RunModeOnce actions (install scripts, brewfiles).
func DeployPacksDirect ¶ added in v0.1.4
func DeployPacksDirect(opts DeployPacksOptions) (*types.ExecutionContext, error)
DeployPacksDirect is an alias for DeployPacks for backward compatibility. Deprecated: Use DeployPacks instead.
Types ¶
type DeployPacksOptions ¶
type DeployPacksOptions struct {
// DotfilesRoot is the path to the root of the dotfiles directory.
DotfilesRoot string
// PackNames is a list of specific packs to deploy. If empty, all packs are deployed.
PackNames []string
// DryRun specifies whether to perform a dry run without making changes.
DryRun bool
// EnableHomeSymlinks allows symlink operations to target the user's home directory.
EnableHomeSymlinks bool
}
DeployPacksOptions defines the options for the DeployPacks command.
Click to show internal directories.
Click to hide internal directories.