Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Command = &cli.Command{ Name: "use", Usage: "Output a workspace rule for a given github repository", Flags: []cli.Flag{ cli.StringFlag{ Name: "rule", Usage: "Name of the rule to output", Value: "http_archive", EnvVar: "BZL_USE_RULE_OUTPUT", }, cli.StringFlag{ Name: "type", Usage: "Type of asset to download (zip, tar)", Value: "tar", EnvVar: "BZL_USE_ASSET_TYPE", }, cli.StringFlag{ Name: "history", Usage: "Query recent commit log for the given branch (example: --history=master)", EnvVar: "BZL_USE_COMMIT_HISTORY", }, }, Action: func(c *cli.Context) error { err := execute(c) if err != nil { return cli.NewExitError(fmt.Sprintf("use failed: %v", err), 1) } return nil }, }
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.