fix(core): update

This commit is contained in:
Philipp Kunz 2024-04-12 15:35:09 +02:00
parent c33a7d37ee
commit eec33e29d3
3 changed files with 9 additions and 2 deletions

View File

@ -12,7 +12,8 @@
"tsdoc": "cli.js" "tsdoc": "cli.js"
}, },
"scripts": { "scripts": {
"test": "(tstest test/) && (node ./cli.ts.js)", "test": "(tstest test/) && npm run testCli",
"testCli": "(node ./cli.ts.js) && (node ./cli.ts.js aidocs)",
"build": "(tsbuild --web --allowimplicitany)" "build": "(tsbuild --web --allowimplicitany)"
}, },
"devDependencies": { "devDependencies": {

View File

@ -3,6 +3,6 @@
*/ */
export const commitinfo = { export const commitinfo = {
name: '@git.zone/tsdoc', name: '@git.zone/tsdoc',
version: '1.1.17', version: '1.1.18',
description: 'An advanced TypeScript documentation tool leveraging AI for enhanced insights and automated documentation generation, with capabilities for automated and enhanced documentation creation tailor-made for TypeScript projects.' description: 'An advanced TypeScript documentation tool leveraging AI for enhanced insights and automated documentation generation, with capabilities for automated and enhanced documentation creation tailor-made for TypeScript projects.'
} }

View File

@ -28,7 +28,13 @@ export const run = async () => {
}); });
tsdocCli.addCommand('aidocs').subscribe(async (argvArg) => { tsdocCli.addCommand('aidocs').subscribe(async (argvArg) => {
logger.log('info', `Generating new readme...`);
logger.log('info', `This may take some time...`);
const aidocs = new AiDoc(); const aidocs = new AiDoc();
aidocs.buildReadme(paths.cwd);
logger.log('info', `Generating new keywords...`);
logger.log('info', `This may take some time...`);
aidocs.buildDescription(paths.cwd);
}) })
tsdocCli.addCommand('test').subscribe((argvArg) => { tsdocCli.addCommand('test').subscribe((argvArg) => {