xyz

command
v0.1.5 Latest Latest
Warning

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

Go to latest
Published: Oct 6, 2026 License: MIT Imports: 5 Imported by: ? 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

xyz 网关:把 xyz.json(当前目录,或 XYZ_CONFIG 指向的文件/URL)里 声明的工具转成 xyz-go 的三条通道。每次进程启动解析一次:

xyz -h                            帮助(含全部转换出的子命令)
xyz dns.lookup --host example.com 执行一条 exec/mcp 工具
xyz mcp stdio                      长期形态:解析一次的 MCP 服务
xyz serve                          长期形态:HTTP 服务(附 /openapi.json)

版本注入:go build -ldflags "-X github.com/ejfkdev/xyz-go.Version=v0.1.0"

Jump to

Keyboard shortcuts

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