Context Type — astro Architecture
Architecture documentation for the Context type/interface in context.ts from the astro codebase.
Entity Profile
Dependency Diagram
graph TD 21e97ec7_c609_2966_7371_6995c43f54cb["Context"] 4b7851d8_a04b_b68f_e63e_37c4acd250af["context.ts"] 21e97ec7_c609_2966_7371_6995c43f54cb -->|defined in| 4b7851d8_a04b_b68f_e63e_37c4acd250af style 21e97ec7_c609_2966_7371_6995c43f54cb fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
packages/upgrade/src/actions/context.ts lines 6–17
export interface Context {
help: boolean;
prompt: typeof prompt;
version: string;
dryRun?: boolean;
cwd: URL;
stdin?: typeof process.stdin;
stdout?: typeof process.stdout;
packageManager: DetectResult;
packages: PackageInfo[];
exit(code: number): never;
}
Defined In
Source
Frequently Asked Questions
What is the Context type?
Context is a type/interface in the astro codebase, defined in packages/upgrade/src/actions/context.ts.
Where is Context defined?
Context is defined in packages/upgrade/src/actions/context.ts at line 6.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free