@petritapanilahdelma/llm-component-cli
v1.2.0
Published
CLI for validating, migrating, and scaffolding LLM component schemas.
Maintainers
Readme
@petritapanilahdelma/llm-component-cli
CLI for validating, migrating, and scaffolding LLM component schemas.
Install
npm install -D @petritapanilahdelma/llm-component-cliCommands
llm-component-schema validate schema.json
llm-component-schema drift-check --root . --out dist/schema-drift-report.json
llm-component-schema migrate --from v1 --to v2 --input v1.json --output v2.json
llm-component-schema init Button --style tailwind --target examples/generated/componentsNotes
validateruns strict structure checks plus JSON contract validation.drift-checkcompares schema props against component props and Storybook args.migratecurrently supportsv1 -> v2.initcreates a full component starter with schema, stories, test, and Code Connect stub.
