setarea

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

Documentation

Overview

Package setarea implements the `aiwf set-area <id> <member>` verb (per-verb subpackage; internal/cli/root.go's NewRootCmd wires it via NewCmd). It points ONE entity at an existing declared area member — or clears its area tag via --clear — in one trailered commit (E-0044, M-0183). It is the membership-change sibling of `rename-area`.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCmd

func NewCmd(correlationID string) *cobra.Command

NewCmd builds `aiwf set-area <id> <member>` (and `aiwf set-area <id> --clear` to untag): a verb that owns one entity's `area:` frontmatter, setting it to an existing declared member or clearing it, in one trailered commit.

func Run

func Run(args []string, actor, principal, root string, clearTag bool, out cliutil.OutputFormat) (code int)

Run executes `aiwf set-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