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

Function resetContextFlags

apps/cli/internal/cli/context_test.go:130–138  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

128}
129
130func resetContextFlags() {
131 ctxTaskID = ""
132 ctxFormat = "text"
133 ctxResolve = false
134 ctxIncludeContent = false
135 ctxIncludeDeps = false
136 ctxMaxFiles = 0
137 taskDir = "."
138}
139
140func captureContextOutput(t *testing.T) (string, error) {
141 t.Helper()

Callers 14

TestContext_TouchesOnlyFunction · 0.85
TestContext_ExplicitOnlyFunction · 0.85
TestContext_BothSourcesFunction · 0.85
TestContext_EmptyTaskFunction · 0.85
TestContext_TaskNotFoundFunction · 0.85
TestContext_MissingFilesFunction · 0.85
TestContext_JSONFunction · 0.85
TestContext_YAMLFunction · 0.85
TestContext_IncludeDepsFunction · 0.85
TestContext_MaxFilesFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected