You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+89Lines changed: 89 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -10,14 +10,35 @@ Code Aggregator is an application that allows you to select a root folder and ag
10
10
- Include or exclude specific files and folders using checkboxes.
11
11
- Save the aggregated text to a specified location.
12
12
- Option to open the aggregated file after the operation completes.
13
+
- Command line support for running the aggregator without the GUI.
13
14
14
15
## How to Use
15
16
17
+
### Graphical User Interface
18
+
16
19
1. Click the 'Select Folder' button to choose the root folder for aggregation.
17
20
2. Use the checkboxes to include or exclude specific files and folders. By default, all folders and files are included.
18
21
3. Click 'Start Operation' to begin the aggregation process. You will be prompted to specify the location and name of the output file.
19
22
4. Note: It is recommended to exclude folders like .git, .vs, or other dependency folders to avoid including unnecessary files.
20
23
24
+
### Command Line Interface
25
+
26
+
-`?` - Show command line syntax and tips.
27
+
-`source_folder` - Run the aggregator on this source folder.
28
+
-`-o:"New_Output_Folders\New_Output_Filename.ext"` - Change the output file for this run only.
29
+
-`-oc:"New_Output_Folders\New_Output_Filename.ext"` - Change the output file and update the JSON settings.
30
+
-`-a:"Folder\Folder_or_File_to_Add[.ext]"` - Add this folder or file for this run only.
31
+
-`-ac:"Folder\Folder_or_File_to_Add[.ext]"` - Add this folder or file and update the JSON settings.
32
+
-`-q` - Quiet mode (no output from the program, don't show windows).
33
+
34
+
#### Error Codes
35
+
36
+
-`0` - Worked perfectly.
37
+
-`1` - Folder not found (when trying to add a new folder).
38
+
-`2` - File not found (when trying to add a new file).
39
+
-`3` - Error outputting to the output file.
40
+
-`4` - Source folder not found.
41
+
21
42
## Installation
22
43
23
44
### Prerequisites
@@ -55,6 +76,74 @@ Code Aggregator is an application that allows you to select a root folder and ag
55
76
56
77
3. After installation, you can find the application in the Start Menu under "Code Aggregator."
57
78
79
+
## Version 1.0.0 - Initial Release
80
+
81
+
### Overview
82
+
83
+
This is the initial release of the Code Aggregator application, designed to help users aggregate text files from selected folders into a single text file. This is particularly useful for consolidating code files or other text-based files from a project directory.
84
+
85
+
### Features
86
+
87
+
- **Folder Selection**:
88
+
- Users can selecta root folder to aggregate files from.
89
+
- A tree view is provided to include or exclude specific files and folders.
90
+
- All selected folders and files are remembered for future use.
91
+
92
+
- **File Aggregation**:
93
+
- Aggregates all text files from the selected folders and subfolders into a single text file.
94
+
- Ensures that only text files are included in the aggregation.
95
+
96
+
- **Settings Management**:
97
+
- Saves the selected folders and file inclusion settings in a JSON file.
98
+
- Detects new folders and indicates them to the user for inclusion.
99
+
100
+
- **User Interface**:
101
+
- Instructions are provided on the main form to guide the user.
102
+
- Buttons for selecting folders and starting the aggregation process.
103
+
- Progress form to show the progress of the aggregation process.
104
+
- Option to open the generated file after the aggregation is complete.
105
+
106
+
- **Command Line Support**:
107
+
- Supports command line arguments to run the aggregator without the graphical user interface.
108
+
- Options to specify output file, add folders, and run in quiet mode.
109
+
110
+
### Command Line Options
111
+
112
+
- `?` - Show command line syntax and tips.
113
+
- `source_folder` - Run the aggregator on this source folder.
114
+
- `-o:"New_Output_Folders\New_Output_Filename.ext"` - Change the output file for this run only.
115
+
- `-oc:"New_Output_Folders\New_Output_Filename.ext"` - Change the output file and update the JSON settings.
116
+
- `-a:"Folder\Folder_or_File_to_Add[.ext]"` - Add this folder or file for this run only.
117
+
- `-ac:"Folder\Folder_or_File_to_Add[.ext]"` - Add this folder or file and update the JSON settings.
118
+
- `-q` - Quiet mode (no output from the program, don't show windows).
119
+
120
+
### Error Codes
121
+
122
+
- `0` - Worked perfectly.
123
+
- `1` - Folder not found (when trying to add a new folder).
124
+
- `2` - File not found (when trying to add a new file).
125
+
- `3` - Error outputting to the output file.
126
+
- `4` - Source folder not found.
127
+
128
+
### Usage
129
+
130
+
#### Graphical User Interface
131
+
132
+
1. Open the application.
133
+
2. Click the 'Select Folder' button to choose the root folder for aggregation.
134
+
3. Use the checkboxes in the tree view to include or exclude specific files and folders.
135
+
4. Click 'Start Operation' to begin the aggregation process.
136
+
5. After completion, choose whether to open the generated file.
137
+
138
+
#### Command Line Interface
139
+
140
+
1. Run the application from the command line with the appropriate arguments as described above.
141
+
142
+
### Known Issues
143
+
144
+
- Initial scanning of large directories may take some time.
145
+
- Antivirus software may flag the executable. Consider signing the code with a recognized certificate.
146
+
58
147
## Contributing
59
148
60
149
Contributions are welcome! Please open an issue or submit a pull request for any changes.
0 commit comments