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

Function resolveWorkflow

apps/cli/internal/cli/root.go:251–256  ·  view source on GitHub ↗

resolveWorkflow returns the configured workflow mode ("solo" or "pr-review"). Defaults to "solo" when not set.

()

Source from the content-addressed store, hash-verified

249// resolveWorkflow returns the configured workflow mode ("solo" or "pr-review").
250// Defaults to "solo" when not set.
251func resolveWorkflow() string {
252 if w := viper.GetString("workflow"); w != "" {
253 return w
254 }
255 return "solo"
256}
257
258// ResolveScanDir returns the scan directory from positional arg or --task-dir flag.
259// Positional arg takes precedence for backward compatibility.

Callers 1

GetGlobalFlagsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected