flags

package
v0.7.0-alpha.1 Latest Latest
Warning

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

Go to latest
Published: Jun 12, 2018 License: MPL-2.0 Imports: 1 Imported by: 18

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	API      = []cli.Flag{Endpoint, Fetcher, Project, Revision, Branch}
	Endpoint = cli.StringFlag{Name: "e, endpoint", Usage: "the FOSSA server endpoint (default: 'https://app.fossa.io')"}
	Fetcher  = cli.StringFlag{Name: "f, fetcher", Usage: "type of fetcher to use for fossa. (default: 'custom')"}
	Project  = cli.StringFlag{Name: "p, project", Usage: "this repository's URL or VCS endpoint (default: VCS remote 'origin')"}
	Revision = cli.StringFlag{Name: "r, revision", Usage: "this repository's current revision hash (default: VCS hash HEAD)"}
	Branch   = cli.StringFlag{Name: "b, branch", Usage: "this repository's current branch (default: current VCS branch)"}
)
View Source
var (
	Global = []cli.Flag{NoAnsi, Debug}
	NoAnsi = cli.BoolFlag{Name: "no-ansi", Usage: "do not use interactive mode (ANSI codes)"}
	Debug  = cli.BoolFlag{Name: "debug", Usage: "print debug information to stderr"}
)
View Source
var Config = cli.StringFlag{Name: "c, config", Usage: "path to config file (default: '.fossa.{yml,yaml}')"}

Functions

func WithAPIFlags

func WithAPIFlags(f []cli.Flag) []cli.Flag

func WithGlobalFlags

func WithGlobalFlags(f []cli.Flag) []cli.Flag

Types

This section is empty.

Jump to

Keyboard shortcuts

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