fix(core): update
This commit is contained in:
parent
c33a7d37ee
commit
eec33e29d3
@ -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": {
|
||||||
|
@ -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.'
|
||||||
}
|
}
|
||||||
|
@ -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) => {
|
||||||
|
Loading…
Reference in New Issue
Block a user