genCliSectionTree() — supabase Function Reference
Architecture documentation for the genCliSectionTree() function in Reference.generated.script.ts from the supabase codebase.
Entity Profile
Dependency Diagram
graph TD cc06bdf5_979a_d1e8_fed7_bc8f4fe68c7c["genCliSectionTree()"] b792f766_6907_0c0b_d971_437562bc23c4["writeCliReferenceSections()"] b792f766_6907_0c0b_d971_437562bc23c4 -->|calls| cc06bdf5_979a_d1e8_fed7_bc8f4fe68c7c d42fcba3_a2ea_45d2_47b6_6519c0071566["getSpec()"] cc06bdf5_979a_d1e8_fed7_bc8f4fe68c7c -->|calls| d42fcba3_a2ea_45d2_47b6_6519c0071566 a31dc3a9_2cda_bb58_7cbc_5f9391c9aabd["deepFilterRec()"] cc06bdf5_979a_d1e8_fed7_bc8f4fe68c7c -->|calls| a31dc3a9_2cda_bb58_7cbc_5f9391c9aabd style cc06bdf5_979a_d1e8_fed7_bc8f4fe68c7c fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
apps/docs/features/docs/Reference.generated.script.ts lines 112–122
async function genCliSectionTree(): Promise<AbbrevApiReferenceSection[]> {
const cliSpec = await getSpec('cli_v1_commands', { ext: 'yaml' })
const validSections = deepFilterRec(
cliCommonSections as AbbrevApiReferenceSection[],
'items',
(section) =>
section.type === 'cli-command' ? cliSpec.commands.some(({ id }) => id === section.id) : true
)
return validSections
}
Domain
Subdomains
Calls
Called By
Source
Frequently Asked Questions
What does genCliSectionTree() do?
genCliSectionTree() is a function in the supabase codebase.
What does genCliSectionTree() call?
genCliSectionTree() calls 2 function(s): deepFilterRec, getSpec.
What calls genCliSectionTree()?
genCliSectionTree() is called by 1 function(s): writeCliReferenceSections.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free