Compare commits
8 Commits
Author | SHA1 | Date | |
---|---|---|---|
c1bd85fc58 | |||
b81220b2ba | |||
ca26d9e98d | |||
61b6161470 | |||
463183bd3a | |||
069a74d2b4 | |||
87c1ae53b3 | |||
774aea55ff |
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@git.zone/tsdoc",
|
"name": "@git.zone/tsdoc",
|
||||||
"version": "1.1.20",
|
"version": "1.1.24",
|
||||||
"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",
|
||||||
|
@ -3,6 +3,6 @@
|
|||||||
*/
|
*/
|
||||||
export const commitinfo = {
|
export const commitinfo = {
|
||||||
name: '@git.zone/tsdoc',
|
name: '@git.zone/tsdoc',
|
||||||
version: '1.1.20',
|
version: '1.1.24',
|
||||||
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.'
|
||||||
}
|
}
|
||||||
|
@ -49,6 +49,8 @@ export class AiDoc {
|
|||||||
this.openaiToken = this.argvArg.OPENAI_TOKEN;
|
this.openaiToken = this.argvArg.OPENAI_TOKEN;
|
||||||
} else {
|
} else {
|
||||||
// lets try smartinteract
|
// lets try smartinteract
|
||||||
|
// wait for a second until OpenAI fixes punycode problem...
|
||||||
|
await plugins.smartdelay.delayFor(1000);
|
||||||
const answerObject = await this.smartinteractInstance.askQuestion({
|
const answerObject = await this.smartinteractInstance.askQuestion({
|
||||||
type: 'input',
|
type: 'input',
|
||||||
message: `Please provide your OpenAI token`,
|
message: `Please provide your OpenAI token`,
|
||||||
@ -59,7 +61,7 @@ export class AiDoc {
|
|||||||
}
|
}
|
||||||
|
|
||||||
this.printSanitizedToken();
|
this.printSanitizedToken();
|
||||||
// await this.npmextraKV.writeKey('OPENAI_TOKEN', this.openaiToken);
|
await this.npmextraKV.writeKey('OPENAI_TOKEN', this.openaiToken);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -30,11 +30,12 @@ export const run = async () => {
|
|||||||
tsdocCli.addCommand('aidoc').subscribe(async (argvArg) => {
|
tsdocCli.addCommand('aidoc').subscribe(async (argvArg) => {
|
||||||
logger.log('info', `Generating new readme...`);
|
logger.log('info', `Generating new readme...`);
|
||||||
logger.log('info', `This may take some time...`);
|
logger.log('info', `This may take some time...`);
|
||||||
const aidocs = new AiDoc();
|
const aidocInstance = new AiDoc();
|
||||||
aidocs.buildReadme(paths.cwd);
|
await aidocInstance.start();
|
||||||
|
aidocInstance.buildReadme(paths.cwd);
|
||||||
logger.log('info', `Generating new keywords...`);
|
logger.log('info', `Generating new keywords...`);
|
||||||
logger.log('info', `This may take some time...`);
|
logger.log('info', `This may take some time...`);
|
||||||
aidocs.buildDescription(paths.cwd);
|
aidocInstance.buildDescription(paths.cwd);
|
||||||
})
|
})
|
||||||
|
|
||||||
tsdocCli.addCommand('test').subscribe((argvArg) => {
|
tsdocCli.addCommand('test').subscribe((argvArg) => {
|
||||||
|
Reference in New Issue
Block a user