cli

package
v0.0.0-...-cef86c9 Latest Latest
Warning

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

Go to latest
Published: Jun 29, 2026 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Package cli assembles the ebay command tree from the ebay domain on top of the any-cli/kit framework. Every read command is declared once as a kit operation in the ebay package, so the CLI, the HTTP API (ebay serve), and the MCP server (ebay mcp) all derive from one registry.

Index

Constants

This section is empty.

Variables

View Source
var (
	Version = "dev"
	Commit  = "none"
	Date    = "unknown"
)

Build metadata, set via -ldflags at release time.

Functions

func NewApp

func NewApp() *kit.App

NewApp assembles the kit App: the ebay domain installs the client factory and the operations, this package adds the global flags and the version command, and kit provides the CLI, API, and MCP surfaces.

To add a command, declare it in ebay/domain.go with kit.Handle and it appears here automatically. Reach for app.AddCommand only for a verb that does not fit the emit-records shape, the way version does below.

Types

This section is empty.

Jump to

Keyboard shortcuts

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