Fuma CLI

0.0.5 · active · verified Sun Apr 19

Fuma CLI is an early-stage command-line interface tool designed to facilitate the creation of custom component libraries, drawing inspiration from the `shadcn/ui` pattern. It aims to provide developers with a framework to build their own `shadcn/ui`-like CLI experience for their projects. Currently at version 0.0.5, the project is undergoing rapid development, as indicated by frequent patch releases. Its primary differentiator is its focus on extensibility, allowing users to define and manage their own UI component collections through a dedicated CLI. The project's current status suggests a focus on core features like component addition and environment detection, with a potential for significant changes as it approaches a stable release, serving as a foundational layer for customizable UI tooling.

Common errors

Warnings

Install

Imports

Quickstart

Initializes a new Fuma CLI project, creates a sample component, and adds it to the project using the CLI's `add` command.

npx fuma-cli init my-component-library
cd my-component-library
echo 'console.log("Hello from a new component!");' > src/components/hello-world.js
npx fuma-cli add hello-world --output-path components/ui

# Example of running an interactive prompt (requires @fuma-cli/interactive)
# Note: This is a conceptual demonstration as `fuma-cli add` is likely interactive by default now.
npx fuma-cli add

view raw JSON →