/** * args.ts — command-line parsing for create-litro. * * Separate from index.ts so the parse is testable: index.ts runs the CLI on * import, which a test cannot do. */ import type { RecipeOptionFlags } from './recipe-options.js'; export interface ParsedArgs { projectName: string | undefined; recipe: string | undefined; mode: 'ssg' | 'ssr' | undefined; adapter: 'lit' | 'fast' | 'elena' | undefined; listRecipes: boolean; /** Repository the docs are for; enables --for-repo post-processing. */ forRepo: string | undefined; siteUrl: string | undefined; deploy: 'docker' | 'none'; withBlog: boolean; /** * Answers to the chosen recipe's own options, from flags such as * `--no-blog`. A key is present only when the user typed its flag, so an * unanswered option still gets its prompt. */ recipeOptionFlags: RecipeOptionFlags; } export declare function parseArgs(argv: string[]): ParsedArgs; //# sourceMappingURL=args.d.ts.map