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