UNPKG

@batuhanw/api-documenter

Version:
27 lines (26 loc) 809 B
import { Anthropic } from '@anthropic-ai/sdk'; import { Command } from '@oclif/core'; declare enum RepoLanguage { NODEJS = "nodejs", PYTHON = "python", JAVA = "java", RUBY = "ruby", PHP = "php", CSHARP = "csharp", GO = "go" } export default class Doc extends Command { static args: { path: import("@oclif/core/interfaces").Arg<string, Record<string, unknown>>; }; static description: string; static examples: string[]; static flags: { anthropicApiKey: import("@oclif/core/interfaces").OptionFlag<string, import("@oclif/core/interfaces").CustomOptions>; }; initConfigFolder(mainPath: string): string; initClient(apiKey: string): Anthropic; inferRepoLanguage(repoPath: string): RepoLanguage; run(): Promise<void>; } export {};