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

Function validateMergeMethodValue

cmd/flags_definers.go:238–242  ·  view source on GitHub ↗
(cmd *cobra.Command)

Source from the content-addressed store, hash-verified

236}
237
238func validateMergeMethodValue(cmd *cobra.Command) error {
239 return validateFlagStringValue(
240 []string{"merge", "ff", "rebase_merge"},
241 cmd, "merge-method")
242}
243
244func addDescriptionFlag(cmd *cobra.Command) {
245 cmd.Flags().String("desc", "", "The description of the resource")

Callers 2

new_project.goFile · 0.85
edit_project.goFile · 0.85

Calls 1

validateFlagStringValueFunction · 0.85

Tested by

no test coverage detected