commands

package
v0.1.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 6, 2025 License: MIT Imports: 13 Imported by: 0

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

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

func InstallShellIntegration(dataDir string) error

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.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL