mdls
Markdown-ls dumps a directory in markdown, with file contents in code blocks.
This is just a simple CLI tool, useful for working with a large context-window LLM.
This tool respects .gitignore files, as well as system/user gitignore settings.
With the -ignore flag an additional ignore-file can be specified.
File contents are output with full file path in the header,
and 8-backtick code-fencing with file-extension as language.
To only list the file-names, as markdown list, use the -names flag.
Usage
Lists the current working directory, or the dir if specified.
mdls [dir]
-ignore string
Additional ignore-pattern file
-names
Show file names only
The CLI flags are experimental and may change.
Install
go install github.com/protolambda/mdls@latest
License
MIT, see LICENSE file.