MCPcopy Index your code
hub / github.com/devopsctl/gitlabctl / init

Function init

cmd/new_release.go:45–52  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

43}
44
45func init() {
46 newCmd.AddCommand(newReleaseCmd)
47 addProjectFlag(newReleaseCmd)
48 verifyMarkFlagRequired(newReleaseCmd, "project")
49 newReleaseCmd.Flags().StringP("description", "d", "",
50 "The release note or description")
51 verifyMarkFlagRequired(newReleaseCmd, "description")
52}
53
54func runNewRelease(cmd *cobra.Command, tag string) error {
55 opts := new(gitlab.CreateReleaseOptions)

Callers

nothing calls this directly

Calls 2

addProjectFlagFunction · 0.85
verifyMarkFlagRequiredFunction · 0.85

Tested by

no test coverage detected