Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( API = []cli.Flag{EndpointF, FetcherF, ProjectF, RevisionF, BranchF} Endpoint = "endpoint" EndpointF = cli.StringFlag{Name: Short(Endpoint), Usage: "the FOSSA server endpoint (default: 'https://app.fossa.io')"} Title = "title" TitleF = cli.StringFlag{Name: Short(Title), Usage: "the title of the FOSSA project. (default: the project name)"} Fetcher = "fetcher" FetcherF = cli.StringFlag{Name: Short(Fetcher), Usage: "type of fetcher to use for fossa. (default: 'custom')"} Project = "project" ProjectF = cli.StringFlag{Name: Short(Project), Usage: "this repository's URL or VCS endpoint (default: VCS remote 'origin')"} Revision = "revision" RevisionF = cli.StringFlag{Name: Short(Revision), Usage: "this repository's current revision hash (default: VCS hash HEAD)"} Branch = "branch" BranchF = cli.StringFlag{Name: Short(Branch), Usage: "this repository's current branch (default: current VCS branch)"} )
View Source
var ( Global = []cli.Flag{ConfigF, NoAnsiF, DebugF} Config = "config" ConfigF = cli.StringFlag{Name: Short(Config), Usage: "path to config file (default: '.fossa.{yml,yaml}')"} NoAnsi = "no-ansi" NoAnsiF = cli.BoolFlag{Name: NoAnsi, Usage: "do not use interactive mode (ANSI codes)"} Debug = "debug" DebugF = cli.BoolFlag{Name: Debug, Usage: "print debug information to stderr"} )
View Source
var ( Modules = []cli.Flag{OptionF} Option = "option" OptionF = cli.StringSliceFlag{Name: Option, Usage: "options for the module (format is `key:value` e.g. allow-unresolved:true)"} )
View Source
var ( AnalysisCmd = []cli.Flag{ShowOutputF} ShowOutput = "output" ShowOutputF = cli.BoolFlag{Name: Short(ShowOutput), Usage: "print results to stdout instead of uploading to FOSSA"} )
Functions ¶
func ShortUpper ¶ added in v0.7.0
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.