cmd

package
v1.1.5 Latest Latest
Warning

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

Go to latest
Published: Jul 21, 2020 License: Apache-2.0 Imports: 28 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 GenMarkdownTree

func GenMarkdownTree(path string) error

GenMarkdownTree generates Markdown documentation for postmanctl.

Types

type OutputFormatValue

type OutputFormatValue struct {
	// contains filtered or unexported fields
}

OutputFormatValue is a custom Value for the output flag that validates.

func (*OutputFormatValue) Set

func (o *OutputFormatValue) Set(v string) error

Set creates the flag value.

func (*OutputFormatValue) String

func (o *OutputFormatValue) String() string

String returns a string representation of this flag.

func (*OutputFormatValue) Type

func (o *OutputFormatValue) Type() string

Type returns the type of this value.

type VersionOutputFormatValue added in v1.1.1

type VersionOutputFormatValue struct {
	// contains filtered or unexported fields
}

VersionOutputFormatValue is a custom Value for the output flag that validates.

func (*VersionOutputFormatValue) Set added in v1.1.1

Set creates the flag value.

func (*VersionOutputFormatValue) String added in v1.1.1

func (o *VersionOutputFormatValue) String() string

String returns a string representation of this flag.

func (*VersionOutputFormatValue) Type added in v1.1.1

func (o *VersionOutputFormatValue) Type() string

Type returns the type of this value.

Jump to

Keyboard shortcuts

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