command

package
v0.3.2 Latest Latest
Warning

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

Go to latest
Published: Aug 26, 2024 License: AGPL-3.0 Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Initialize

func Initialize() error

Initialize is the entry point for initializing the konterfAI cli command.

func Run

func Run(c *cli.Context) error

Run is the entry point for running konterfAI.

func SetLogger added in v0.3.2

func SetLogger(format, level string) (*slog.Logger, error)

SetLogger sets the logger for the command package.

func SetTraceProvider added in v0.3.0

func SetTraceProvider(ctx context.Context, logger *slog.Logger, endpoint, serviceName string) error

SetTraceProvider returns a new trace provider with the given endpoint and service name.

Types

This section is empty.

Jump to

Keyboard shortcuts

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