command

package
v0.96.1 Latest Latest
Warning

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

Go to latest
Published: Jul 18, 2026 License: GPL-3.0 Imports: 15 Imported by: 0

Documentation

Overview

Package command implements CLI command definitions.

Package command implements CLI command definitions.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BookmarkCommand

func BookmarkCommand() *cobra.Command

func ConfigCommand

func ConfigCommand() *cobra.Command

ConfigCommand returns the config parent command

func ForgeCommand

func ForgeCommand() *cobra.Command

func GithubCommand

func GithubCommand() *cobra.Command

func HubCommand

func HubCommand() *cobra.Command

func IsJSON added in v0.96.1

func IsJSON(cmd *cobra.Command) bool

IsJSON reports whether the command (or an ancestor) requested JSON output.

func KanbanCommand

func KanbanCommand() *cobra.Command

func LoginCommand

func LoginCommand() *cobra.Command

LoginCommand returns the login command

func MemoCommand

func MemoCommand() *cobra.Command

func PipelineCommand

func PipelineCommand() *cobra.Command

func PrintEmptyList added in v0.96.1

func PrintEmptyList(cmd *cobra.Command, tableMsg string) error

PrintEmptyList writes an empty JSON array when -o json is set, otherwise tableMsg.

func PrintJSON added in v0.96.1

func PrintJSON(v any) error

PrintJSON writes v as indented JSON to stdout.

func PrintJSONError added in v0.96.1

func PrintJSONError(err error)

PrintJSONError writes a protocol-shaped failed response as JSON to stdout.

func ReaderCommand

func ReaderCommand() *cobra.Command

func VersionCommand

func VersionCommand(version string) *cobra.Command

VersionCommand returns the version command

func WorkflowCommand

func WorkflowCommand() *cobra.Command

Types

This section is empty.

Jump to

Keyboard shortcuts

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