formats

package
v0.0.10 Latest Latest
Warning

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

Go to latest
Published: Oct 12, 2019 License: MIT Imports: 8 Imported by: 0

Documentation

Overview

Package formats provides the command for printing a list of supported formats.

Index

Constants

View Source
const (
	CliUse   = "formats"
	CliShort = "print supported formats"
	CliLong  = "print supported formats"

	FlagFormat = "format"

	DefaultFormat = "json"
)

Variables

This section is empty.

Functions

func CheckFormatsConfig

func CheckFormatsConfig(v *viper.Viper) error

CheckFormatsConfig checks the configuration for the formats command.

func InitFormatsFlags

func InitFormatsFlags(flag *pflag.FlagSet)

InitFormatsFlags initializes the flags for the formats command.

func NewCommand

func NewCommand() *cobra.Command

NewCommand returns a new instance of the formats command.

Types

This section is empty.

Jump to

Keyboard shortcuts

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