risk

package
v0.1.59 Latest Latest
Warning

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

Go to latest
Published: Aug 19, 2026 License: MIT Imports: 3 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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