Documentation
¶
Overview ¶
Package commands provides high-level command implementations for dodot.
This package contains the command orchestration layer that coordinates between the CLI interface and the core pipeline functionality.
Each command is implemented in its own subdirectory:
- list/ - ListPacks command
- deploy/ - DeployPacks command
- install/ - InstallPacks command
- status/ - StatusPacks command
- fill/ - FillPack command
- initialize/ - InitPack command
- internal/ - Shared execution pipeline logic
This file serves as the main entry point and re-exports all command functions to maintain API compatibility.
Index ¶
- func DeployPacks(opts DeployPacksOptions) (*types.ExecutionResult, error)
- func FillPack(opts FillPackOptions) (*types.FillResult, error)
- func InitPack(opts InitPackOptions) (*types.InitResult, error)
- func InstallPacks(opts InstallPacksOptions) (*types.ExecutionResult, error)
- func InstallShellIntegration(dataDir string) error
- func ListPacks(opts ListPacksOptions) (*types.ListPacksResult, error)
- func StatusPacks(opts StatusPacksOptions) (*types.DisplayResult, error)
- type DeployPacksOptions
- type FillPackOptions
- type InitPackOptions
- type InstallPacksOptions
- type ListPacksOptions
- type StatusPacksOptions
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DeployPacks ¶
func DeployPacks(opts DeployPacksOptions) (*types.ExecutionResult, error)
func FillPack ¶
func FillPack(opts FillPackOptions) (*types.FillResult, error)
func InitPack ¶
func InitPack(opts InitPackOptions) (*types.InitResult, error)
func InstallPacks ¶
func InstallPacks(opts InstallPacksOptions) (*types.ExecutionResult, error)
func InstallShellIntegration ¶
InstallShellIntegration installs shell integration scripts to the user's data directory
func ListPacks ¶
func ListPacks(opts ListPacksOptions) (*types.ListPacksResult, error)
func StatusPacks ¶
func StatusPacks(opts StatusPacksOptions) (*types.DisplayResult, error)
Types ¶
type DeployPacksOptions ¶
type DeployPacksOptions = deploy.DeployPacksOptions
DeployPacks runs deployment logic for specified packs (RunModeMany power-ups).
type FillPackOptions ¶
type FillPackOptions = fill.FillPackOptions
FillPack adds missing template files to an existing pack.
type InitPackOptions ¶
type InitPackOptions = initialize.InitPackOptions
InitPack creates a new pack directory with template files and configuration.
type InstallPacksOptions ¶
type InstallPacksOptions = install.InstallPacksOptions
InstallPacks runs installation + deployment (RunModeOnce then RunModeMany power-ups).
type ListPacksOptions ¶
type ListPacksOptions = list.ListPacksOptions
ListPacks finds all available packs in the dotfiles root directory.
type StatusPacksOptions ¶
type StatusPacksOptions = status.StatusPacksOptions
StatusPacks checks the deployment status of specified packs.