preview

package
v0.27.0 Latest Latest
Warning

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

Go to latest
Published: Jan 11, 2022 License: Apache-2.0 Imports: 15 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PreviewCommand added in v0.19.0

PreviewCommand creates the PreviewRunner, returning the cobra command associated with it.

Types

type PreviewRunner added in v0.19.0

type PreviewRunner struct {
	Command *cobra.Command
	// contains filtered or unexported fields
}

PreviewRunner encapsulates data necessary to run the preview command.

func GetPreviewRunner added in v0.19.0

GetPreviewRunner creates and returns the PreviewRunner which stores the cobra command.

func (*PreviewRunner) RunE added in v0.19.0

func (r *PreviewRunner) RunE(cmd *cobra.Command, args []string) error

RunE is the function run from the cobra command.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
JackTT - Gopher 🇻🇳