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

Function resetSnapshotFlags

apps/cli/internal/cli/snapshot_test.go:15–21  ·  view source on GitHub ↗

resetSnapshotFlags resets all snapshot command flags to defaults.

()

Source from the content-addressed store, hash-verified

13
14// resetSnapshotFlags resets all snapshot command flags to defaults.
15func resetSnapshotFlags() {
16 snapshotFormat = "json"
17 snapshotCore = false
18 snapshotDerived = false
19 snapshotGroupBy = ""
20 snapshotOut = ""
21}
22
23// createSnapshotTestFiles creates test task files with dependencies for snapshot tests.
24func createSnapshotTestFiles(t *testing.T) string {

Calls

no outgoing calls

Tested by

no test coverage detected