middleware

package
v0.6.7 Latest Latest
Warning

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

Go to latest
Published: Jan 2, 2026 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Package middleware provides Cobra command middleware for the yapi CLI.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func WrapWithObservability

func WrapWithObservability(cmd *cobra.Command)

WrapWithObservability recursively wraps all commands with observability instrumentation. This automatically captures command name, flags used (not values), args count, timing, and success/failure.

Types

This section is empty.

Jump to

Keyboard shortcuts

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