Compare commits
8 Commits
Author | SHA1 | Date | |
---|---|---|---|
87c1ae53b3 | |||
774aea55ff | |||
ee7038e0d7 | |||
7c3bae4c6e | |||
69d59e02f8 | |||
b4b6797fdf | |||
4bbb154c4f | |||
eec33e29d3 |
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@git.zone/tsdoc",
|
"name": "@git.zone/tsdoc",
|
||||||
"version": "1.1.17",
|
"version": "1.1.21",
|
||||||
"private": false,
|
"private": false,
|
||||||
"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.",
|
||||||
"main": "dist_ts/index.js",
|
"main": "dist_ts/index.js",
|
||||||
@ -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.21',
|
||||||
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.'
|
||||||
}
|
}
|
||||||
|
11
ts/cli.ts
11
ts/cli.ts
@ -27,8 +27,15 @@ export const run = async () => {
|
|||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
tsdocCli.addCommand('aidocs').subscribe(async (argvArg) => {
|
tsdocCli.addCommand('aidoc').subscribe(async (argvArg) => {
|
||||||
const aidocs = new AiDoc();
|
logger.log('info', `Generating new readme...`);
|
||||||
|
logger.log('info', `This may take some time...`);
|
||||||
|
const aidocInstance = new AiDoc();
|
||||||
|
await aidocInstance.start();
|
||||||
|
aidocInstance.buildReadme(paths.cwd);
|
||||||
|
logger.log('info', `Generating new keywords...`);
|
||||||
|
logger.log('info', `This may take some time...`);
|
||||||
|
aidocInstance.buildDescription(paths.cwd);
|
||||||
})
|
})
|
||||||
|
|
||||||
tsdocCli.addCommand('test').subscribe((argvArg) => {
|
tsdocCli.addCommand('test').subscribe((argvArg) => {
|
||||||
|
Reference in New Issue
Block a user