config

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Mar 21, 2026 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RuntimeCommand

func RuntimeCommand(file string) (string, []string)

RuntimeCommand returns the command and args to run a tool file.

Types

type Config

type Config struct {
	Command            string
	File               string
	Transport          string
	HotReloadImmediate bool
	CallTimeout        time.Duration
	LogLevel           string
	SocketPath         string
	Runtime            string
	Host               string
	Port               int
	Auth               []string
	Strict             bool
	Format             string
	TestSubcommand     string // "list", "call", "scenario"
	TestToolName       string // tool name for "call"
	TestArgs           string // --args JSON string
	ShowTrace          bool   // --trace flag (default true)
}

func Parse

func Parse(args []string) (*Config, error)

Jump to

Keyboard shortcuts

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