summaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* Make append_paths preserve stream if no additionsA Farzat2026-06-211-3/+12
|
* Make remove_paths take origin_base directlyA Farzat2026-06-202-31/+42
| | | | | Passing normalizer makes both the binary and tests complicated without reducing the complexity of the function signature.
* Extract paths_from_null_separated_bytes to utilsA Farzat2026-06-205-23/+69
|
* Move input parsing from md_generator to runA Farzat2026-06-203-97/+179
|
* Add module/function docs to path_displayA Farzat2026-06-201-0/+7
|
* Add module/function docs to language utilsA Farzat2026-06-201-0/+10
|
* Add module/function docs to fence utilsA Farzat2026-06-201-2/+7
|
* Add double dash tests to r2md append & prependA Farzat2026-06-202-0/+38
|
* Add module/function docs to loggerA Farzat2026-06-201-0/+10
|
* Add module/function docs to rendererA Farzat2026-06-201-0/+22
|
* Add module/function docs to normalizerA Farzat2026-06-201-3/+21
|
* Add markdown generator module/function docsA Farzat2026-06-202-0/+29
|
* Rename NormalizedPath's relative fieldA Farzat2026-06-203-19/+28
| | | | root_relative provides better semantic clarity.
* Add module docs for lib.rsA Farzat2026-06-201-0/+9
|
* Add r2md-remove binaryA Farzat2026-06-201-0/+97
|
* Add r2md-prepend binaryA Farzat2026-06-201-0/+50
|
* Add r2md-append binaryA Farzat2026-06-201-0/+50
|
* Add module/function docs to path_list_editorA Farzat2026-06-201-1/+47
|
* Make remove_paths normalize paths for comparisonA Farzat2026-06-192-14/+131
|
* Fix append_paths when input does not end in NULA Farzat2026-06-191-5/+60
|
* Add functions to edit stdin path listA Farzat2026-06-192-0/+211
| | | | | These would be used to create binaries that manipulate the input before piping it back into repo2markdown.
* Add some docs to r2md-fence and fence_wrapperA Farzat2026-06-192-0/+12
|
* Add the r2md-fence binaryA Farzat2026-06-192-0/+41
| | | | To feed individual files without the extra boilerplate.
* Add a module that wraps input with fencesA Farzat2026-06-192-0/+70
| | | | This will be used to implement the r2md-fence binary next.
* Move the logic from main.rs to make it testableA Farzat2026-06-183-30/+82
|
* Export the Cli struct to a separate moduleA Farzat2026-06-182-168/+177
| | | | To keep `main.rs` clean.
* Add a fenced option to wrap output in md fencesA Farzat2026-06-181-9/+40
| | | | Useful to paste the output directly instead of using a file.
* Use clap for advanced CLI parsingA Farzat2026-06-182-35/+154
|
* Add RenderOptions to pass them to md generatorsA Farzat2026-06-184-43/+125
|
* Rename to better reflect what functions/modules doA Farzat2026-06-124-12/+15
|
* Add a function that wraps output in an md fenceA Farzat2026-06-112-0/+154
|
* Move outer_backticks to a util moduleA Farzat2026-06-103-19/+83
| | | | | | | | This is because it shall be used by other functions later on. It was made more generic by accepting raw bytes instead of strictly UTF-8 strings. This allows future functions to call it without having to convert the contents to UTF-8 strings first.
* Skip placeholder for large files by defaultA Farzat2026-06-101-1/+34
|
* Skip placeholder for binary files by defaultA Farzat2026-06-101-1/+23
|
* Group similar languages together in testingA Farzat2026-06-091-14/+20
|
* Support YAML, JS, and TOMLA Farzat2026-06-081-0/+28
|
* Prioritize detection through extensionsA Farzat2026-06-071-0/+6
| | | | | | While shebangs take priority on Unix-like systems, the shebang detection here is very basic and not guaranteed to be correct, so its use should be secondary.
* Detect sh as bashA Farzat2026-06-071-1/+13
| | | | | | This is based on the assumption that LLMs recognize bash language fences more as they are trained more on them. Another assumption is that LLMs wouldn't care much about the difference unless instructed.
* Ensure shebangs properly start with #!A Farzat2026-06-071-1/+22
|
* Refactor language detection in a util moduleA Farzat2026-06-073-26/+39
|
* Detect bash using shebangA Farzat2026-06-071-4/+20
|
* Start adding shebang filetype detectionA Farzat2026-06-071-3/+34
|
* Detect uppercase file extensionsA Farzat2026-06-071-1/+18
|
* Detect python and json filesA Farzat2026-06-071-0/+26
|
* Skip language fences for text or unknown filetypesA Farzat2026-06-071-2/+22
|
* Start adding language fence functionalityA Farzat2026-06-071-4/+4
|
* Move happy-path of render_file to a separate funcA Farzat2026-06-071-0/+4
|
* Standardize format in Logger and add Verbose levelA Farzat2026-06-074-8/+19
| | | | | I kind of want verbose level now as I want to know which files got included.
* Rename project_name to project_titleA Farzat2026-06-062-17/+17
|
* Fix duplicate warning messageA Farzat2026-06-061-3/+5
|