Transform your components into shareable JSON registries.
The generate command is the core of Regify. It scans your source files, extracts their metadata, and packages them into a format that is 100% compatible with the shadcn CLI.
--inputRequiredThe path to the input file or directory to scan. Supports .ts, .tsx, .js, .jsx.
--outputOverride the default output directory defined in your regify.json.
--nameSpecify a custom name for the generated registry file. Defaults to the filename. Only work if input is a file.
--rawjsonOutput raw JSON to console. If true, the --output flag will be ignored.
Generating from a directory:
regify generate --input ./src/componentsGenerating a specific component:
regify generate --input ./src/components/button.tsx --name my-button