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

Function expandNextShortcutFilters

apps/cli/internal/cli/next.go:275–282  ·  view source on GitHub ↗

expandNextShortcutFilters appends --status and --priority values to nextFilters.

()

Source from the content-addressed store, hash-verified

273
274// expandNextShortcutFilters appends --status and --priority values to nextFilters.
275func expandNextShortcutFilters() {
276 if nextStatus != "" {
277 nextFilters = append(nextFilters, "status="+nextStatus)
278 }
279 if nextPriority != "" {
280 nextFilters = append(nextFilters, "priority="+nextPriority)
281 }
282}
283
284// loadPhaseOrder reads phase identifiers from the viper config, preserving order.
285// It uses the phase id when present, falling back to name for backwards compatibility.

Callers 2

runNextFunction · 0.85
runNextAllProjectsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected