update

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Apr 14, 2026 License: MIT Imports: 9 Imported by: 0

Documentation

Overview

Package update implements the "update" command. It parses climax's own source files into an AST, detects structural drift between those files and the embedded scaffold templates, and optionally applies fixes to bring the templates back into alignment.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	*root.Config
	Apply   bool
	Flags   *ff.FlagSet
	Command *ff.Command
}

Config holds the configuration for the update command.

func New

func New(parent *root.Config) *Config

New creates and registers the update command with the given parent config.

Jump to

Keyboard shortcuts

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