Simple Shadcn Cli

screenshot of Simple Shadcn Cli
shadcn-ui

Overview

The simple-shadcn-cli is an innovative command-line interface (CLI) tool designed to streamline the process of creating custom registry items tailored to your project needs. With its user-friendly interactive interface, developers can easily generate individual registry components, manage dependencies efficiently, and maintain a well-organized codebase. This tool promises to enhance the overall development experience by automating routine tasks and ensuring consistency across your registry configurations.

The CLI not only supports multiple registry types such as UI components, library utilities, and React hooks but also caters to the need for complex project structures with multiple file support per registry item. With built-in TypeScript definitions for registry schemas, this tool is particularly useful for modern web development projects that prioritize strong typing and structure.

Features

  • Interactive CLI Interface: Walks you through creating individual registry items effortlessly, making it suitable for both beginners and seasoned developers.
  • Automated Build Process: Streamlines the generation of project-wide registry components by automatically processing your files and producing the necessary JSON documents.
  • Multiple Registry Types: Supports various registry categories, including UI components, libraries, and React hooks, allowing for versatility in project requirements.
  • Multiple File Support: Easily add and manage several files for each registry item, enhancing project organization and comprehensibility.
  • File Overwrite Protection: Safeguards your existing files by preventing unintentional overwrites during the creation process.
  • TypeScript Types for Schema: Exports TypeScript types for the registry schema, making it simple to configure types and ensuring better type safety in your code.
  • Well-Structured Output Format: Generates JSON files with a clear structure, making it easy to integrate with different platforms or expose through services like GitHub Gists.
  • Comprehensive Configuration Options: Offers an array of configuration settings for both the build and create commands, enabling customized workflows tailored to specific project needs.
shadcn-ui
Shadcn UI

Beautifully designed components that you can copy and paste into your apps. Accessible. Customizable. Open Source.

typescript
Typescript

TypeScript is a superset of JavaScript, providing optional static typing, classes, interfaces, and other features that help developers write more maintainable and scalable code. TypeScript's static typing system can catch errors at compile-time, making it easier to build and maintain large applications.

zod
Zod

Zod is a TypeScript-first schema declaration and validation library. It allows you to define schemas that can validate data at runtime while providing excellent TypeScript inference, making it perfect for API validation, form validation, and type-safe data handling.