api generator cleanup

This commit is contained in:
Pascal Fischer
2023-05-09 17:45:59 +02:00
parent c9200f4bea
commit b5c24e786d
11 changed files with 8 additions and 10072 deletions

View File

@@ -24,22 +24,10 @@ function handleInput(command: string, options: any) {
export default async function DocGenerator({
input,
output,
type,
url,
}: {
input: string
output: string
type: 'api'
url?: string
}) {
switch (type) {
case 'api':
await ApiGenerator(input, output, url || '')
break
default:
await console.log('Unrecognized type: ', type)
break
}
await ApiGenerator(input, output)
return 'Done'
}