prettyPrint() — astro Function Reference
Architecture documentation for the prettyPrint() function in index.ts from the astro codebase.
Entity Profile
Dependency Diagram
graph TD a2c2e7e3_9b77_6370_f433_b592e516c189["prettyPrint()"] f7d3fd10_bcd7_7c85_17b8_a4feb9026da8["index.ts"] a2c2e7e3_9b77_6370_f433_b592e516c189 -->|defined in| f7d3fd10_bcd7_7c85_17b8_a4feb9026da8 dbd24844_d9f2_0606_a8f9_7b3c7cdd9389["getPreference()"] dbd24844_d9f2_0606_a8f9_7b3c7cdd9389 -->|calls| a2c2e7e3_9b77_6370_f433_b592e516c189 b7a701fd_4441_5459_1118_014908ce259d["formatTable()"] a2c2e7e3_9b77_6370_f433_b592e516c189 -->|calls| b7a701fd_4441_5459_1118_014908ce259d style a2c2e7e3_9b77_6370_f433_b592e516c189 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
packages/astro/src/cli/preferences/index.ts lines 300–304
function prettyPrint(value: Record<string, string | number | boolean>) {
const flattened = flattie(value);
const table = formatTable(flattened, ['Preference', 'Value']);
console.log(table);
}
Domain
Subdomains
Defined In
Calls
Called By
Source
Frequently Asked Questions
What does prettyPrint() do?
prettyPrint() is a function in the astro codebase, defined in packages/astro/src/cli/preferences/index.ts.
Where is prettyPrint() defined?
prettyPrint() is defined in packages/astro/src/cli/preferences/index.ts at line 300.
What does prettyPrint() call?
prettyPrint() calls 1 function(s): formatTable.
What calls prettyPrint()?
prettyPrint() is called by 1 function(s): getPreference.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free