The contract every schematic satisfies — a pure function from a name to the files to create. Schematics perform no I/O; the command layer writes.
(names: DerivedNames,options: SchematicOptions) => readonly GeneratedFile[]
The contract every schematic satisfies — a pure function from a name to the files to create. Schematics perform no I/O; the command layer writes.
(names: DerivedNames,options: SchematicOptions) => readonly GeneratedFile[]
import { type Schematic } from "cli/src/index.ts";