cmd

package
v0.0.0-...-2263012 Latest Latest
Warning

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

Go to latest
Published: Apr 23, 2024 License: Apache-2.0 Imports: 47 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Execute

func Execute()

Execute adds all child commands to the root command and sets flags appropriately. This is called by main.main(). It only needs to happen once to the rootCmd.

func GenMarkdownCustom

func GenMarkdownCustom(cmd *cobra.Command, w io.Writer, linkHandler func(string) string) error

GenMarkdownCustom creates custom markdown output.

func GenMarkdownTreeCustom

func GenMarkdownTreeCustom(cmd *cobra.Command, dir string, filePrepender, linkHandler func(string) string) error

GenMarkdownTreeCustom is the the same as GenMarkdownTree, but with custom filePrepender and linkHandler.

func NewCmdApp

func NewCmdApp() *cobra.Command

func NewCmdArtifact

func NewCmdArtifact() *cobra.Command

func NewCmdBundle

func NewCmdBundle() *cobra.Command

func NewCmdDefinition

func NewCmdDefinition() *cobra.Command

func NewCmdDocs

func NewCmdDocs() *cobra.Command

func NewCmdImage

func NewCmdImage() *cobra.Command

func NewCmdInfra

func NewCmdInfra() *cobra.Command

func NewCmdPreview

func NewCmdPreview() *cobra.Command

func NewCmdSchema

func NewCmdSchema() *cobra.Command

func NewCmdServer

func NewCmdServer() *cobra.Command

func NewCmdVersion

func NewCmdVersion() *cobra.Command

versionCmd represents the version command

Types

type PushFlag

type PushFlag struct {
	Flag      string
	Attribute *string
}

Jump to

Keyboard shortcuts

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