Documentation
¶
Overview ¶
Package update implements the `aiwf update ` verb (per-verb subpackage of M-0116; cmd/aiwf/main.go's newRootCmd wires it via NewCmd).
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewCmd ¶
NewCmd builds `aiwf update`: refreshes every marker-managed framework artifact the consumer is opted into. The pipeline is the same one `aiwf init` runs after first-time scaffolding — `initrepo.RefreshArtifacts` — so init and update converge to the same state for a given binary version + aiwf.yaml.
Concretely the verb refreshes:
- the embedded skills under .claude/skills/aiwf-*
- the .gitignore patterns covering them
- the marker-managed pre-push hook
- the marker-managed pre-commit hook (gated by aiwf.yaml's status_md.auto_update; default-on)
Hook conflicts (a non-marker hook already in place) are reported in the per-step ledger and surface a remediation block, mirroring `aiwf init`'s conflict path.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.