generateFileCliCommand() — supabase Function Reference
Architecture documentation for the generateFileCliCommand() function in SQLEditor.utils.ts from the supabase codebase.
Entity Profile
Dependency Diagram
graph TD abf9ef4f_f8c3_a05e_b562_14c91e927bc1["generateFileCliCommand()"] ef98649f_da64_9ce7_0f37_f2fb87ca08c7["DownloadSnippetModal()"] ef98649f_da64_9ce7_0f37_f2fb87ca08c7 -->|calls| abf9ef4f_f8c3_a05e_b562_14c91e927bc1 style abf9ef4f_f8c3_a05e_b562_14c91e927bc1 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
apps/studio/components/interfaces/SQLEditor/SQLEditor.utils.ts lines 80–84
export const generateFileCliCommand = (id: string, name: string, isNpx = false) =>
`
${isNpx ? 'npx ' : ''}supabase snippets download ${id} > \\
${name}.sql
`.trim()
Domain
Subdomains
Called By
Source
Frequently Asked Questions
What does generateFileCliCommand() do?
generateFileCliCommand() is a function in the supabase codebase.
What calls generateFileCliCommand()?
generateFileCliCommand() is called by 1 function(s): DownloadSnippetModal.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free