 
add-schema
npm run add:schema -- --args <workspacePath> <schemaName> <schemaDescription>npx turbo gen schema --args <workspacePath> <schemaName> <schemaDescription>- add-schema.ts
 
 
 
Prompt Arguments
| Argument | Type | Question / Description | 
|---|---|---|
| workspacePath | autocomplete | Where would you like to add this schema? => e.g. features/@app-core | 
| schemaName | text | What is the schema name? => string | 
| schemaDescription | text | Optional description: What data structure does this schema describe? => string | 
Resulting File Changes
/{workspacePath}/ # <- e.g. 'features/@app-core/' or 'packages/some-package/'
 └── schemas/
     └── {schemaName}.schema.ts ❇️