Documentation
¶
Index ¶
Constants ¶
const FlagUsage = flagUsagePrefix + "17ef5905 or later"
const Help = `` /* 962-byte string literal not displayed */
Help is the help paragraph both commands share.
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 ¶
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 ¶
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.