approve

package
v0.17.0 Latest Latest
Warning

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

Go to latest
Published: Sep 7, 2026 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCmdApprove

func NewCmdApprove(props *props.Props) *setup.Command

func RunApprove

func RunApprove(ctx context.Context, props *props.Props, opts *ApproveOptions, args []string) error

RunApprove sets the posting gate for a platform (or `all`). It refuses any platform whose social copy has hard constraint violations, optionally sets a schedule (--at), and persists. --revoke returns it to draft:

keryx approve <platform|all> --workspace <slug> [--at <rfc3339>] [--revoke]

Types

type ApproveOptions

type ApproveOptions struct {
	Workspace string
	At        string
	Revoke    bool
}

Jump to

Keyboard shortcuts

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