respondcmd

package
v0.10.257 Latest Latest
Warning

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

Go to latest
Published: Jul 15, 2026 License: MIT Imports: 19 Imported by: 0

Documentation

Overview

Package respondcmd wires the `cr respond` command surface.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Register

func Register(rootCmd *cobra.Command, opts *root.Options)

Register attaches the respond command to rootCmd.

func RegisterWithFactory

func RegisterWithFactory(rootCmd *cobra.Command, opts *root.Options, factory RuntimeFactory)

RegisterWithFactory attaches the respond command with an injected runtime factory.

Types

type RuntimeFactory added in v0.10.207

type RuntimeFactory func(context.Context, app.OpenRequest) (app.Runtime, error)

RuntimeFactory builds the concrete runtime used by response lifecycle commands.

Jump to

Keyboard shortcuts

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