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

Function NewInputResolver

apps/cli/internal/cli/input.go:23–28  ·  view source on GitHub ↗

NewInputResolver creates a new input resolver

(useStdin bool, verbose bool)

Source from the content-addressed store, hash-verified

21
22// NewInputResolver creates a new input resolver
23func NewInputResolver(useStdin bool, verbose bool) *InputResolver {
24 return &InputResolver{
25 useStdin: useStdin,
26 verbose: verbose,
27 }
28}
29
30// ResolveInput determines the input source and returns a reader and cleanup function
31// Priority: stdin flag > explicit file argument > default tasks.md file

Callers 2

Calls

no outgoing calls

Tested by 2