gen() — supabase Function Reference
Architecture documentation for the gen() function in cli.ts from the supabase codebase.
Entity Profile
Dependency Diagram
graph TD 3b9ad9c9_91cb_a5a2_db76_68cd2fcf2ac5["gen()"] 05897f40_5957_af84_e831_4d593f607811["gen_v001()"] 3b9ad9c9_91cb_a5a2_db76_68cd2fcf2ac5 -->|calls| 05897f40_5957_af84_e831_4d593f607811 style 3b9ad9c9_91cb_a5a2_db76_68cd2fcf2ac5 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
apps/docs/generator/cli.ts lines 8–20
export default async function gen(inputFileName: string, outputDir: string) {
const spec = yaml.load(fs.readFileSync(inputFileName, 'utf8')) as any
switch (spec.clispec) {
case '001':
await gen_v001(spec, outputDir)
break
default:
console.log('Unrecognized specification version:', spec.clispec)
break
}
}
Domain
Subdomains
Calls
Source
Frequently Asked Questions
What does gen() do?
gen() is a function in the supabase codebase.
What does gen() call?
gen() calls 1 function(s): gen_v001.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free