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

Function validateUserOrderByFlagValue

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

Source from the content-addressed store, hash-verified

376}
377
378func validateUserOrderByFlagValue(cmd *cobra.Command) error {
379 return validateFlagStringValue([]string{"id", "name", "username",
380 "created_at", "updated_at"},
381 cmd, "order-by")
382}
383
384func addProjectOrderByFlag(cmd *cobra.Command) {
385 cmd.Flags().String("order-by", "created_at",

Callers 1

get_users.goFile · 0.85

Calls 1

validateFlagStringValueFunction · 0.85

Tested by

no test coverage detected