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

Function resetNextFlags

apps/cli/internal/cli/next_test.go:169–182  ·  view source on GitHub ↗

resetNextFlags resets all next command flags to defaults

()

Source from the content-addressed store, hash-verified

167
168// resetNextFlags resets all next command flags to defaults
169func resetNextFlags() {
170 nextFormat = "table"
171 nextLimit = 5
172 nextFilters = []string{}
173 nextQuickWins = false
174 nextCritical = false
175 nextScope = ""
176 nextExact = false
177 nextPhase = ""
178 nextStrictPhases = false
179 nextColumns = nextDefaultColumns
180 nextStatus = ""
181 nextPriority = ""
182}
183
184func TestNext_BasicRanking(t *testing.T) {
185 tmpDir := createNextTestTaskFiles(t)

Callers 15

TestNext_BasicRankingFunction · 0.85
TestNext_LimitFlagFunction · 0.85
TestNext_FilterByTagFunction · 0.85
TestNext_MultipleFiltersFunction · 0.85
TestNext_JSONFormatFunction · 0.85
TestNext_YAMLFormatFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected