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

constants

package
v0.17.2 Latest Latest
Warning

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

Go to latest
Published: Oct 19, 2026 License: AGPL-3.0 Imports: 0 Imported by: 0

Documentation

Overview

Package constants provides shared constants for CLI commands.

Package constants provides shared constants for CLI commands.

Index

Constants

View Source
const (
	// FormatTable is the default table output format.
	FormatTable = "table"

	// FormatWide is an extended table format with more columns.
	FormatWide = "wide"

	// FormatJSON outputs data as JSON.
	FormatJSON = "json"

	// FormatYAML outputs data as YAML.
	FormatYAML = "yaml"

	// FormatText outputs plain text.
	FormatText = "text"

	// FormatCSV outputs comma-separated values.
	FormatCSV = "csv"

	// FormatMarkdown outputs as markdown table.
	FormatMarkdown = "markdown"
)

Output format constants used throughout the CLI.

View Source
const (
	// ShellBash represents the Bash shell.
	ShellBash = "bash"

	// ShellZsh represents the Zsh shell.
	ShellZsh = "zsh"

	// ShellFish represents the Fish shell.
	ShellFish = "fish"

	// ShellPowerShell represents PowerShell.
	ShellPowerShell = "powershell"
)

Shell type constants for completion commands.

Variables

This section is empty.

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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