commands

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Aug 19, 2025 License: MIT Imports: 8 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
  • addignore/ - AddIgnore 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 AddIgnore added in v0.2.0

func AddIgnore(opts AddIgnoreOptions) (*types.AddIgnoreResult, error)

func DeployPacks

func DeployPacks(opts DeployPacksOptions) (*types.ExecutionContext, 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.ExecutionContext, error)

func ListPacks

func ListPacks(opts ListPacksOptions) (*types.ListPacksResult, error)

func StatusPacks

func StatusPacks(opts StatusPacksOptions) (*types.DisplayResult, error)

Types

type AddIgnoreOptions added in v0.2.0

type AddIgnoreOptions = addignore.AddIgnoreOptions

AddIgnore creates a .dodotignore file in the specified pack.

type DeployPacksOptions

type DeployPacksOptions = deploy.DeployPacksOptions

DeployPacks runs deployment logic using the direct executor approach.

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 using the direct executor approach.

type ListPacksOptions

type ListPacksOptions = list.ListPacksOptions

ListPacks finds all available packs in the dotfiles root directory.

type StatusPacksOptions

type StatusPacksOptions = status.StatusPacksOptions

StatusPacks shows the deployment status of specified packs.

Directories

Path Synopsis
Package status provides the status command implementation for dodot.
Package status provides the status command implementation for dodot.

Jump to

Keyboard shortcuts

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