renamearea

package
v0.29.0 Latest Latest
Warning

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

Go to latest
Published: Jul 24, 2026 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Overview

Package renamearea implements the `aiwf rename-area <old> <new>` verb (per-verb subpackage; internal/cli/root.go's NewRootCmd wires it via NewCmd). It renames a declared workstream area in aiwf.yaml and atomically rewrites every entity tagged with the old area, in one commit (E-0044, M-0177).

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCmd

func NewCmd(correlationID string) *cobra.Command

NewCmd builds `aiwf rename-area <old> <new>`: renames a declared area member and rewrites the `area:` frontmatter of every entity that references it, in one trailered commit.

func Run

func Run(oldName, newName, actor, principal, root string, out cliutil.OutputFormat) (code int)

Run executes `aiwf rename-area`. Returns one of the cliutil.Exit* codes.

Types

This section is empty.

Jump to

Keyboard shortcuts

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