MCPcopy Index your code
hub / github.com/coder/coder / buildNumberOption

Function buildNumberOption

cli/state.go:79–86  ·  view source on GitHub ↗
(n *int64)

Source from the content-addressed store, hash-verified

77}
78
79func buildNumberOption(n *int64) serpent.Option {
80 return serpent.Option{
81 Flag: "build",
82 FlagShorthand: "b",
83 Description: "Specify a workspace build to target by name. Defaults to latest.",
84 Value: serpent.Int64Of(n),
85 }
86}
87
88func (r *RootCmd) statePush() *serpent.Command {
89 var buildNumber int64

Callers 2

statePullMethod · 0.85
statePushMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected