Help us shape the future of Go! Take the 2026 Go Developer Survey

cmdutil

package
v0.2.15 Latest Latest
Warning

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

Go to latest
Published: Apr 14, 2026 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetClient

func GetClient(cmd *cobra.Command) (*client.Client, error)

GetClient creates a LangSmith client from cobra flags, returning an error if the API key is not set.

func ResolveAPIKey

func ResolveAPIKey(cmd *cobra.Command) string

ResolveAPIKey reads the API key from cobra's flag tree → env.

func ResolveAPIURL

func ResolveAPIURL(cmd *cobra.Command) string

ResolveAPIURL reads the API URL from cobra's flag tree → env → default.

func ResolveFormat

func ResolveFormat(cmd *cobra.Command) string

ResolveFormat reads the output format from cobra's flag tree.

Types

This section is empty.

Jump to

Keyboard shortcuts

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