status

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: 6 Imported by: 0

Documentation

Overview

Package status provides the status command implementation for dodot.

The status command shows the deployment state of packs and files, answering two key questions:

  • What has already been deployed? (current state)
  • What will happen if I deploy? (predicted state)

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func StatusPacks

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

StatusPacks shows the deployment status of specified packs

Types

type StatusPacksOptions

type StatusPacksOptions struct {
	// DotfilesRoot is the root directory containing packs
	DotfilesRoot string

	// PackNames specifies which packs to check status for
	// If empty, all packs are checked
	PackNames []string

	// Paths provides system paths (required)
	Paths types.Pather

	// FileSystem to use (defaults to OS filesystem)
	FileSystem types.FS
}

StatusPacksOptions contains options for the status command

Jump to

Keyboard shortcuts

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