cmd

package
v1.8.0 Latest Latest
Warning

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

Go to latest
Published: Mar 24, 2026 License: MIT Imports: 22 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Debug bool

Debug enables debug output when true

View Source
var ProjectID string

ProjectID is the project to operate on (shared across commands)

Functions

func NewAddCommand

func NewAddCommand() *cobra.Command

NewAddCommand creates the add command

func NewConfigCommand added in v1.7.0

func NewConfigCommand() *cobra.Command

NewConfigCommand creates the config command with subcommands

func NewDeleteCommand

func NewDeleteCommand() *cobra.Command

NewDeleteCommand creates the delete command

func NewDoctorCommand added in v1.7.0

func NewDoctorCommand() *cobra.Command

NewDoctorCommand creates the doctor command

func NewEditCommand added in v1.7.0

func NewEditCommand() *cobra.Command

NewEditCommand creates the edit command

func NewInfoCommand added in v1.2.0

func NewInfoCommand() *cobra.Command

NewInfoCommand creates the info command

func NewInitCommand

func NewInitCommand() *cobra.Command

NewInitCommand creates the init command

func NewListCommand

func NewListCommand() *cobra.Command

NewListCommand creates the list command

func NewLogoutCommand added in v1.7.0

func NewLogoutCommand() *cobra.Command

NewLogoutCommand creates the logout command

func NewProjectsCommand

func NewProjectsCommand() *cobra.Command

NewProjectsCommand creates the projects command

Types

type Table

type Table struct {
	// contains filtered or unexported fields
}

Table handles formatted table output

func NewTable

func NewTable(headers ...string) *Table

NewTable creates a new table with the given headers

func (*Table) AddRow

func (t *Table) AddRow(values ...string)

AddRow adds a row to the table

func (*Table) Render

func (t *Table) Render(w io.Writer)

Render writes the table to the given writer

Jump to

Keyboard shortcuts

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