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
ai-digest supports custom ignore patterns using a `.aidigestignore` file in the root directory of your project. This file works similarly to `.gitignore`, allowing you to specify files and directories that should be excluded from the aggregation.
112
+
113
+
Use the `--show-output-files` flag to see which files are being included, making it easier to identify candidates for exclusion.
114
+
115
+
## Whitespace Removal
116
+
117
+
When using the `--whitespace-removal` flag, ai-digest removes excess whitespace from files to reduce the token count when used with AI models. This feature is disabled for whitespace-dependent languages like Python and YAML.
118
+
119
+
## Binary and SVG File Handling
120
+
121
+
Binary files and SVGs are included in the output with a note about their file type. This allows AI models to be aware of these files without including their full content.
122
+
123
+
## Local Development
124
+
125
+
Run `npm run start` to run the CLI tool on the local project. (Very meta!)
126
+
127
+
Run `npm test` to run the tests.
128
+
129
+
To pass flags to the CLI, use the `--` flag, like this: `npm run start -- --whitespace-removal`.
130
+
131
+
## Deploy New Version
132
+
133
+
```
134
+
npm publish
135
+
```
136
+
137
+
## Contributing
138
+
139
+
Contributions are welcome! Please feel free to submit a Pull Request.
ai-digest supports custom ignore patterns using a `.aidigestignore` file in the root directory of your project. This file works similarly to `.gitignore`, allowing you to specify files and directories that should be excluded from the aggregation.
228
-
229
-
Use the `--show-output-files` flag to see which files are being included, making it easier to identify candidates for exclusion.
230
-
231
-
## Whitespace Removal
232
-
233
-
When using the `--whitespace-removal` flag, ai-digest removes excess whitespace from files to reduce the token count when used with AI models. This feature is disabled for whitespace-dependent languages like Python and YAML.
234
-
235
-
## Binary and SVG File Handling
236
-
237
-
Binary files and SVGs are included in the output with a note about their file type. This allows AI models to be aware of these files without including their full content.
238
-
239
-
## Local Development
240
-
241
-
Run `npm run start` to run the CLI tool on the local project. (Very meta!)
242
-
243
-
Run `npm test` to run the tests.
244
-
245
-
To pass flags to the CLI, use the `--` flag, like this: `npm run start -- --whitespace-removal`.
246
-
247
-
## Deploy New Version
248
-
249
-
```
250
-
npm publish
251
-
```
252
-
253
-
## Contributing
254
-
255
-
Contributions are welcome! Please feel free to submit a Pull Request.
0 commit comments