MCPcopy Create free account
hub / github.com/driangle/taskmd / isValidIDStrategy

Function isValidIDStrategy

apps/cli/internal/cli/project_init.go:400–407  ·  view source on GitHub ↗
(s string)

Source from the content-addressed store, hash-verified

398}
399
400func isValidIDStrategy(s string) bool {
401 for _, v := range validIDStrategies {
402 if s == v {
403 return true
404 }
405 }
406 return false
407}
408
409func promptIDStrategy() (string, error) {
410 options := []huh.Option[string]{

Callers 1

resolveInitIDStrategyFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected