Documentation
¶
Overview ¶
Package cli implements md2's command-line orchestration: flag parsing, input merging, and dispatching to the registered converters.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Run ¶
Run parses args and performs the requested conversion(s). version is printed for -version and is resolved by the caller (main), which alone knows about build-time ldflags. stdin is read for any "-" input (typically os.Stdin; tests pass a buffer). stdoutWriter is where -stdout streams the converted result (typically os.Stdout; tests pass a buffer).
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.