generateSeedCliCommand() — supabase Function Reference
Architecture documentation for the generateSeedCliCommand() function in SQLEditor.utils.ts from the supabase codebase.
Entity Profile
Dependency Diagram
graph TD afa1175f_3449_1253_e5b1_d6612acc8707["generateSeedCliCommand()"] ef98649f_da64_9ce7_0f37_f2fb87ca08c7["DownloadSnippetModal()"] ef98649f_da64_9ce7_0f37_f2fb87ca08c7 -->|calls| afa1175f_3449_1253_e5b1_d6612acc8707 style afa1175f_3449_1253_e5b1_d6612acc8707 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
apps/studio/components/interfaces/SQLEditor/SQLEditor.utils.ts lines 74–78
export const generateSeedCliCommand = (id: string, isNpx = false) =>
`
${isNpx ? 'npx ' : ''}supabase snippets download ${id} >> \\
supabase/seed.sql
`.trim()
Domain
Subdomains
Called By
Source
Frequently Asked Questions
What does generateSeedCliCommand() do?
generateSeedCliCommand() is a function in the supabase codebase.
What calls generateSeedCliCommand()?
generateSeedCliCommand() 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