mirror of
https://github.com/simonw/files-to-prompt.git
synced 2025-10-23 00:02:47 +03:00
Fixed formatting in --help output
This commit is contained in:
@@ -157,27 +157,27 @@ def cli(
|
||||
Takes one or more paths to files or directories and outputs every file,
|
||||
recursively, each one preceded with its filename like this:
|
||||
|
||||
path/to/file.py
|
||||
----
|
||||
Contents of file.py goes here
|
||||
|
||||
---
|
||||
path/to/file2.py
|
||||
---
|
||||
...
|
||||
\b
|
||||
path/to/file.py
|
||||
----
|
||||
Contents of file.py goes here
|
||||
---
|
||||
path/to/file2.py
|
||||
---
|
||||
...
|
||||
|
||||
If the `--cxml` flag is provided, the output will be structured as follows:
|
||||
|
||||
<documents>
|
||||
<document path="path/to/file1.txt">
|
||||
Contents of file1.txt
|
||||
</document>
|
||||
|
||||
<document path="path/to/file2.txt">
|
||||
Contents of file2.txt
|
||||
</document>
|
||||
...
|
||||
</documents>
|
||||
\b
|
||||
<documents>
|
||||
<document path="path/to/file1.txt">
|
||||
Contents of file1.txt
|
||||
</document>
|
||||
<document path="path/to/file2.txt">
|
||||
Contents of file2.txt
|
||||
</document>
|
||||
...
|
||||
</documents>
|
||||
"""
|
||||
# Reset global_index for pytest
|
||||
global global_index
|
||||
|
||||
Reference in New Issue
Block a user