Home / Function/ getCliSpec() — supabase Function Reference

getCliSpec() — supabase Function Reference

Architecture documentation for the getCliSpec() function in Reference.generated.singleton.ts from the supabase codebase.

Entity Profile

Dependency Diagram

graph TD
  1680d54b_d7a6_69dd_ed73_7e6d160dfd19["getCliSpec()"]
  2b5c707b_a688_44c2_1fe6_9836c4a8de7a["CliCommandSection()"]
  2b5c707b_a688_44c2_1fe6_9836c4a8de7a -->|calls| 1680d54b_d7a6_69dd_ed73_7e6d160dfd19
  style 1680d54b_d7a6_69dd_ed73_7e6d160dfd19 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

apps/docs/features/docs/Reference.generated.singleton.ts lines 48–55

export async function getCliSpec() {
  if (!cliSpec) {
    const rawSpec = await readFile(join(process.cwd(), 'spec', 'cli_v1_commands.yaml'), 'utf-8')
    cliSpec = parse(rawSpec)
  }

  return cliSpec
}

Subdomains

Frequently Asked Questions

What does getCliSpec() do?
getCliSpec() is a function in the supabase codebase.
What calls getCliSpec()?
getCliSpec() is called by 1 function(s): CliCommandSection.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free