cmd

package
v0.7.1 Latest Latest
Warning

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

Go to latest
Published: Dec 2, 2025 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DefaultBaseURL = openaiorgs.DefaultBaseURL

	// Common output formats.
	OutputFormatPretty = "pretty"
	OutputFormatJSON   = "json"
)

Constants should be grouped at the top.

Variables

View Source
var (
	ValidOutputFormats = map[string]bool{
		OutputFormatPretty: true,
		OutputFormatJSON:   true,
	}
)

Common flag definitions grouped together.

Functions

func AdminAPIKeysCommand added in v0.3.0

func AdminAPIKeysCommand() *cli.Command

func AuditLogsCommand

func AuditLogsCommand() *cli.Command

func CertificatesCommand added in v0.6.0

func CertificatesCommand() *cli.Command

func InvitesCommand

func InvitesCommand() *cli.Command

func ProjectAPIKeysCommand added in v0.3.1

func ProjectAPIKeysCommand() *cli.Command

func ProjectRateLimitsCommand added in v0.2.16

func ProjectRateLimitsCommand() *cli.Command

func ProjectServiceAccountsCommand

func ProjectServiceAccountsCommand() *cli.Command

func ProjectUsersCommand

func ProjectUsersCommand() *cli.Command

func ProjectsCommand

func ProjectsCommand() *cli.Command

func UsageCommand added in v0.3.1

func UsageCommand() *cli.Command

func UsersCommand

func UsersCommand() *cli.Command

Types

type BaseCommand added in v0.2.8

type BaseCommand struct {
	Name     string
	Usage    string
	Commands []*cli.Command
}

Base type and its methods grouped together.

func (*BaseCommand) Command added in v0.2.8

func (b *BaseCommand) Command() *cli.Command

func (*BaseCommand) Subcommands added in v0.2.8

func (b *BaseCommand) Subcommands() []*cli.Command

type CommandProvider added in v0.2.8

type CommandProvider interface {
	Command() *cli.Command
	Subcommands() []*cli.Command
}

Interfaces and types grouped together.

type TableData added in v0.2.8

type TableData struct {
	Headers []string
	Rows    [][]string
}

Directories

Path Synopsis
Package main provides an MCP (Model Context Protocol) server implementation for managing OpenAI organizations.
Package main provides an MCP (Model Context Protocol) server implementation for managing OpenAI organizations.

Jump to

Keyboard shortcuts

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