Documentation
¶
Overview ¶
Package command implements CLI command definitions.
Package command implements CLI command definitions.
Index ¶
- func BookmarkCommand() *cobra.Command
- func ConfigCommand() *cobra.Command
- func ForgeCommand() *cobra.Command
- func GithubCommand() *cobra.Command
- func HubCommand() *cobra.Command
- func IsJSON(cmd *cobra.Command) bool
- func KanbanCommand() *cobra.Command
- func LoginCommand() *cobra.Command
- func MemoCommand() *cobra.Command
- func PipelineCommand() *cobra.Command
- func PrintEmptyList(cmd *cobra.Command, tableMsg string) error
- func PrintJSON(v any) error
- func PrintJSONError(err error)
- func ReaderCommand() *cobra.Command
- func VersionCommand(version string) *cobra.Command
- func WorkflowCommand() *cobra.Command
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BookmarkCommand ¶
func ConfigCommand ¶
ConfigCommand returns the config parent command
func ForgeCommand ¶
func GithubCommand ¶
func HubCommand ¶
func IsJSON ¶ added in v0.96.1
IsJSON reports whether the command (or an ancestor) requested JSON output.
func KanbanCommand ¶
func MemoCommand ¶
func PipelineCommand ¶
func PrintEmptyList ¶ added in v0.96.1
PrintEmptyList writes an empty JSON array when -o json is set, otherwise tableMsg.
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 VersionCommand ¶
VersionCommand returns the version command
func WorkflowCommand ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.