Commands
The cem command-line tool has several commands to help you generate and query Custom Elements Manifests.
Generate
Analyze your source code and automatically create a comprehensive custom-elements.json manifest file that documents all your custom elements and their APIs.
Serve
Start a development server with live reload, buildless TypeScript, and interactive demos.
List
Query and inspect your custom elements manifest with powerful filtering and display options to explore your component APIs interactively.
Search
Find elements, attributes, methods, and other API features across your entire project using flexible keyword and regex pattern matching.
Export
Generate framework-specific wrapper components for React, Vue, and Angular from your custom elements manifest.
Validate
Ensure your custom elements manifest files conform to the official schema and catch potential issues before publishing.
Health
Score documentation quality in your custom elements manifest and get actionable recommendations for improvement.