instruction

package
v0.36.0 Latest Latest
Warning

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

Go to latest
Published: Nov 4, 2026 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const FlagUsage = flagUsagePrefix + "17ef5905 or later"
View Source
const Help = `` /* 962-byte string literal not displayed */

Help is the help paragraph both commands share.

View Source
const StaffingFlagUsage = "" /* 239-byte string literal not displayed */

StaffingFlagUsage is the flag line for the staffing and member doors (cli#1594), whose minimum server is hadron-server#3308's merge.

Variables

This section is empty.

Functions

func FlagUsageForServer

func FlagUsageForServer(minimum string) string

FlagUsageForServer shares the instruction syntax while keeping each door's minimum independent of the text or server revision chosen by another door.

func Parse

func Parse(raw string) (*gen.ActInstructionInput, error)

Parse reads --instruction <kind>:<ref>. Only the shape is the CLI's to check: the kind and a non-blank ref. The ref is everything after the first colon, byte for byte (URNs and client addresses contain colons); whether it names anything readable is the server's to judge.

func StaffingHelp

func StaffingHelp(grant string) string

StaffingHelp is the help paragraph `team worker cast|retire|rm` and `app member add|remove` share (cli#1594, hadron-server#3308). grant is the worker's own grant that admits it without a claim: workers.staff or app.members.

Types

This section is empty.

Jump to

Keyboard shortcuts

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