44
55<!-- doc-gen BADGES -->
66
7- [ ![ npm version] ( https://img.shields.io/npm/v/repo-description.svg?style=for-the-badge )] ( https://www.npmjs.com/package/repo-description ) [ ![ npm downloads] ( https://img.shields.io/npm/dw/repo-description.svg?style=for-the-badge )] ( https://www.npmjs.com/package/repo-description ) [ ![ license] ( https://img.shields.io/badge/license-MIT-blue.svg?style=for-the-badge )] ( https://www.npmjs.com/package/repo-description )
7+ [](https://www.npmjs.com/package/repo-description) [](https://www.npmjs.com/package/repo-description) [](https://www.npmjs.com/package/repo-description) [](https://github.com/IonGireada/repo-description/actions) [](https://codecov.io/gh/IonGireada/repo-description) [](https://github.com/IonGireada/repo-description/releases) [](https://github.com/IonGireada/repo-description/graphs/commit-activity) [](https://github.com/IonGireada/repo-description/stargazers) [](https://github.com/IonGireada/repo-description/network/members) [](https://github.com/IonGireada/repo-description/watchers) [](https://github.com/IonGireada/repo-description/commits) [](https://github.com/IonGireada/repo-description/graphs/contributors) [](https://github.com/IonGireada/repo-description/issues) [](https://github.com/IonGireada/repo-description/pulls) [](https://github.com/IonGireada/repo-description) [](https://github.com/IonGireada/repo-description) [](https://github.com/IonGireada/repo-description/search?l=)
88
99<!-- end-doc-gen -->
1010
@@ -63,7 +63,12 @@ async function runDescription() {
6363
6464 console .log (' Generating Markdown descriptions...' );
6565 const markdownDescriptions = await describeRepo (repoPath, markdownOptions);
66- saveOutput (markdownDescriptions, markdownOptions .output , markdownOptions .format , markdownOptions .summary );
66+ saveOutput (
67+ markdownDescriptions,
68+ markdownOptions .output ,
69+ markdownOptions .format ,
70+ markdownOptions .summary
71+ );
6772 console .log (` Markdown descriptions saved to ${ markdownOptions .output } ` );
6873
6974 // Scenario 3: Generate descriptions for a remote GitHub repository
@@ -77,7 +82,9 @@ async function runDescription() {
7782 console .log (` Generating descriptions for ${ remoteRepoPath} ...` );
7883 const remoteDescriptions = await describeRepo (remoteRepoPath, remoteOptions);
7984 saveOutput (remoteDescriptions, remoteOptions .output , remoteOptions .format );
80- console .log (` Remote repository descriptions saved to ${ remoteOptions .output } ` );
85+ console .log (
86+ ` Remote repository descriptions saved to ${ remoteOptions .output } `
87+ );
8188}
8289
8390runDescription ();
@@ -150,43 +157,43 @@ Options:
150157
151158<!-- doc-gen COMMANDS format=list -->
152159
153- - ` describe ` — Generates AI-powered descriptions for repository files and outputs them in various formats. (line [ 77 ] ( ./package.json#L77 ) )
160+ - ` describe ` — Generates AI-powered descriptions for repository files and outputs them in various formats. (line [ 89 ] ( ./package.json#L89 ) )
154161
155162 ``` bash
156163 node src/cli.js . descriptions.json && node src/cli.js . descriptions.md --format markdown && node src/cli.js . descriptions-table.md --format markdown --table && node src/cli.js . descriptions-summary.md --format markdown --summary && node src/cli.js . descriptions-table-summary.md --format markdown --table --summary
157164 ```
158165
159- - ` docs ` — Generates documentation by processing Markdown files with markdown-magic. (line [ 73 ] ( ./package.json#L73 ) )
166+ - ` docs ` — Generates documentation by processing Markdown files with markdown-magic. (line [ 94 ] ( ./package.json#L94 ) )
160167
161168 ``` bash
162169 npx
[email protected] ** /
* .md -c md.config.js
163170 ```
164171
165- - ` format ` — Formats the codebase using Prettier. (line [ 71 ] ( ./package.json#L71 ) )
172+ - ` format ` — Formats the codebase using Prettier. (line [ 92 ] ( ./package.json#L92 ) )
166173
167174 ``` bash
168175 prettier --write .
169176 ```
170177
171- - ` lint ` — Lints the codebase for potential errors and style violations. (line [ 69 ] ( ./package.json#L69 ) )
178+ - ` lint ` — Lints the codebase for potential errors and style violations. (line [ 90 ] ( ./package.json#L90 ) )
172179
173180 ``` bash
174181 eslint src/ ** /* .js ** /* .json
175182 ```
176183
177- - ` lint:fix ` — Lints the codebase and automatically fixes fixable issues. (line [ 70 ] ( ./package.json#L70 ) )
184+ - ` lint:fix ` — Lints the codebase and automatically fixes fixable issues. (line [ 91 ] ( ./package.json#L91 ) )
178185
179186 ``` bash
180187 eslint --fix src/ ** /* .js ** /* .json
181188 ```
182189
183- - ` prep ` — Prepares the codebase by generating documentation, linting, and formatting. (line [ 72 ] ( ./package.json#L72 ) )
190+ - ` prep ` — Prepares the codebase by generating documentation, linting, and formatting. (line [ 93 ] ( ./package.json#L93 ) )
184191
185192 ``` bash
186193 npm run docs && npm run lint:fix && npm run format
187194 ```
188195
189- - ` test ` — Runs the test suite using Jest. (line [ 76 ] ( ./package.json#L76 ) )
196+ - ` test ` — Runs the test suite using Jest. (line [ 88 ] ( ./package.json#L88 ) )
190197
191198 ``` bash
192199 jest --passWithNoTests
0 commit comments