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

cli

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Aug 5, 2026 License: MIT Imports: 21 Imported by: 0

Documentation

Overview

Package cli assembles the deepseek command tree.

Layout mirrors the API: one command per endpoint, named after what the endpoint does rather than after its path. Commands own their flags and share exactly two things — the Options below, and the output contract documented in output.go.

Index

Constants

This section is empty.

Variables

View Source
var Version = "dev"

Version is set at build time via -ldflags.

Functions

func Execute

func Execute(version string) int

Execute runs the CLI and returns the process exit code.

Types

type Options

type Options struct {
	APIKey   string
	BaseURL  string
	JSON     bool
	JQ       string
	Timeout  time.Duration
	Verbose  int
	NoStats  bool
	NoLedger bool
	// contains filtered or unexported fields
}

Options are the global flags, resolved once and handed to every command.

Jump to

Keyboard shortcuts

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