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

Function Export

apps/cli/internal/web/export.go:32–34  ·  view source on GitHub ↗

Export generates a self-contained static site from task data.

(cfg ExportConfig)

Source from the content-addressed store, hash-verified

30
31// Export generates a self-contained static site from task data.
32func Export(cfg ExportConfig) error {
33 return ExportWithFS(cfg, StaticFiles())
34}
35
36// ExportWithFS generates a static site using the provided embedded filesystem.
37// This is separated from Export to allow tests to inject a mock FS.

Callers 1

Calls 2

ExportWithFSFunction · 0.85
StaticFilesFunction · 0.70

Tested by 1