mirror of
https://github.com/kirill-markin/repo-to-text.git
synced 2025-12-06 03:22:23 -08:00
add support for splitted text by maximum word count
This commit is contained in:
parent
9431ff9d07
commit
e066b481af
6 changed files with 516 additions and 60 deletions
|
|
@ -39,6 +39,11 @@ def create_default_settings_file() -> None:
|
|||
- "README.md"
|
||||
- "LICENSE"
|
||||
- "package-lock.json"
|
||||
|
||||
# Optional: Maximum number of words per output file before splitting.
|
||||
# If not specified or null, no splitting based on word count will occur.
|
||||
# Must be a positive integer if set.
|
||||
# maximum_word_count_per_file: 10000
|
||||
""")
|
||||
with open('.repo-to-text-settings.yaml', 'w', encoding='utf-8') as f:
|
||||
f.write(default_settings)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue