setpriority

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 setpriority implements the `aiwf set-priority <id> <level>` verb (per-verb subpackage; internal/cli/root.go's NewRootCmd wires it via NewCmd). It points ONE gap or decision at a closed-set priority level — or clears its priority tag via --clear — in one trailered commit (G-0078, E-0066, M-0262). It is the write-surface sibling of `set-area`, minus the config-declared member lookup: the priority level set is fixed in Go (entity.AllowedPriorityLevels), not project-configured.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCmd

func NewCmd(correlationID string) *cobra.Command

NewCmd builds `aiwf set-priority <id> <level>` (and `aiwf set-priority <id> --clear` to unset): a verb that owns one gap's or decision's `priority:` frontmatter, setting it to a closed-set level 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-priority`. 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