code2prompt
code2prompt copied to clipboard
Feature Request: Option to sort file tree alphabetically
So for example my migrations folder currently outputs like this:
├── people
│ ├── migrations
│ │ ├── 0007_customuser_can_reconcile.py
│ │ ├── 0008_customuser_hourly_rate.py
│ │ ├── 0004_customuser_installer_code.py
│ │ ├── __init__.py
│ │ ├── 0002_customuser_is_crew_customuser_is_hourly.py
│ │ ├── 0003_rename_is_crew_customuser_is_installer_and_more.py
│ │ ├── 0001_initial.py
│ │ ├── 0005_customuser_is_driver.py
│ │ └── 0006_weeklytimecard.py
while I'd prefer it output this:
├── people
│ ├── migrations
│ │ ├── __init__.py
│ │ ├── 0001_initial.py
│ │ ├── 0002_customuser_is_crew_customuser_is_hourly.py
│ │ ├── 0003_rename_is_crew_customuser_is_installer_and_more.py
│ │ ├── 0004_customuser_installer_code.py
│ │ ├── 0005_customuser_is_driver.py
│ │ └── 0006_weeklytimecard.py
│ │ ├── 0007_customuser_can_reconcile.py
│ │ ├── 0008_customuser_hourly_rate.py
Then of course would prefer the output of each file to be in the same order. Would help especially with things like these migrations in which that order matters quite a bit.
Many thanks for this repo!