Help us shape the future of Go! Take the 2026 Go Developer Survey

cli

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Aug 30, 2018 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Cmd

type Cmd struct {
	Formatter formatter.Cmd `command:"formatter" description:"For formatting the results of an analysis"`

	GenerateCmd GenerateCmd `command:"generate" description:"For generating an analysis"`
}

type CmdOpts

type CmdOpts struct {
	AppOpts *cmdopts.Opts `no-flag:"true"`
}

type GenerateArgs

type GenerateArgs struct {
	Artifact string `positional-arg-name:"ARTIFACT-PATH" description:"Artifact path to analyze"`
	Output   string `positional-arg-name:"OUTPUT-PATH" description:"Path to output results (default: STDOUT)" optional:"true"`
}

type GenerateCmd

type GenerateCmd struct {
	Analyzer   analysis.AnalyzerName `long:"analyzer" description:"The analyzer to use"`
	NoCompress bool                  `long:"no-compress" description:"Skip gzip compression when writing results to file"`

	Args GenerateArgs `positional-args:"true"`
}

func (*GenerateCmd) Execute

func (c *GenerateCmd) Execute(_ []string) error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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