Help us shape the future of Go! Take the 2026 Go Developer Survey

migrate

package
v0.28.1 Latest Latest
Warning

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

Go to latest
Published: Oct 23, 2026 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCmdMigrate

func NewCmdMigrate(props *props.Props) *setup.Command

func RunMigrate

func RunMigrate(ctx context.Context, props *props.Props, opts *MigrateOptions, _ []string) error

RunMigrate moves the theme catalog into ~/.keryx/themes.yaml (spec 0042 §3.6) and flattens it out of the per-type shape (spec 0047 §6).

Both are explicit rather than automatic: silently rewriting files a user owns, at a moment they did not choose, is the kind of surprise that erodes trust in every later write (0046 Q3).

Types

type MigrateOptions

type MigrateOptions struct {
	DryRun  bool
	Default string
}

Jump to

Keyboard shortcuts

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