risk

package
v0.1.4 Latest Latest
Warning

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

Go to latest
Published: May 18, 2026 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

Package risk holds hand-written CLI commands that don't come from the OpenAPI spec. Currently just `risk-recipes`, which prints the embedded RISK_RECIPES.md so agents using the installed binary can read it without a clone of the repo or web access.

Speakeasy will not touch this package on regeneration (it only rewrites files it generated). The one fragile point is the registration call in internal/cli/root.go — that file IS regenerated and the call has to be re-injected. The .github/workflows/generate_combined_spec_and_sdks.yaml workflow patches it back in after `speakeasy run`.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InitRiskRoot

func InitRiskRoot(parent *cobra.Command) error

InitRiskRoot registers the hand-written risk commands on the given parent (typically the cobra root command).

Types

This section is empty.

Jump to

Keyboard shortcuts

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