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 ¶
InitRiskRoot registers the hand-written risk commands on the given parent (typically the cobra root command).
Types ¶
This section is empty.