@kubb/cli
Version:
Command-line interface for Kubb, enabling easy generation of TypeScript, React-Query, Zod, and other code from OpenAPI specifications.
19 lines (16 loc) • 376 B
JavaScript
try {
const cachedSourceMaps = new Map()
require('source-map-support').install({
retrieveSourceMap(source) {
if (cachedSourceMaps.has(source)) {
return cachedSourceMaps.get(source)
}
return null
},
})
} catch (_err) {}
import('../dist/index.js').then(({ run }) => {
process.title = 'Kubb'
run(process.argv)
})