import "go.chromium.org/luci/buildbucket/cli"
Package cli implements CLI client for buildbucket service.
add.go app.go baserun.go batch.go cancel.go cl.go collect.go commit.go doc.go get.go log.go ls.go print.go print_posix.go printrun.go prop.go status.go tag.go
Main is the main function of the bb application.
PropertiesFlag returns a flag.Getter that can read property values into props.
If a flag value starts with @, properties are read from the JSON file at the path that follows @. Example:
-p @my_properties.json
This form can be used only in the first flag value.
Otherwise, a flag value must have name=value form. If the property value is valid JSON, then it is parsed as JSON; otherwise treated as a string. Example:
-p foo=1 -p 'bar={"a": 2}'
Different property names can be specified multiple times.
Panics if props is nil. String() of the return value panics if marshaling of props to JSON fails.
StatusFlag returns a flag.Getter which reads a flag value into status. Valid flag values: scheduled, started, ended, success, failure, infra_failure, canceled. Panics if status is nil.
Params is the parameters for the bb application.
Package cli imports 60 packages (graph) and is imported by 2 packages. Updated 2019-12-09. Refresh now. Tools for package owners.