Accept input directory as first parameter, default to .

Related to #7

---

For more details, open the [Copilot Workspace session](https://copilot-workspace.githubnext.com/kirill-markin/repo-to-text/issues/7?shareId=XXXX-XXXX-XXXX-XXXX).
This commit is contained in:
Aleksey Bykhun 2024-10-30 04:40:05 -07:00
parent ad36a75a7a
commit 9847e1ff46
2 changed files with 8 additions and 1 deletions

View file

@ -76,6 +76,12 @@ You can customize the behavior of `repo-to-text` with the following options:
repo-to-text --debug > debug_log.txt 2>&1
```
- `input_dir`: Specify the directory to process. If not provided, the current directory (`.`) will be used. For example:
```bash
repo-to-text /path/to/input_dir
```
## Settings
`repo-to-text` also supports configuration via a `.repo-to-text-settings.yaml` file. By default, the tool works without this file, but you can use it to customize what gets included in the final text file.