@arshad-shah/cynosure-cli
v2.1.1
Published
Cynosure UI — project scaffolding CLI (npx cynosure init)
Readme
@arshad-shah/cynosure-cli
Scaffolding CLI for Cynosure UI. One command, zero setup.
npx cynosure initBrowse the components this CLI sets up, live: cynosure.arshadshah.com
What it does
- Detects your framework (Next.js App Router, Next.js Pages, Vite, CRA, Remix)
- Picks the right entry file
- Adds the single CSS import (
@arshad-shah/cynosure-react/all.css) - Imports
CynosureProvider— and for Next.js App Router, wraps{children}automatically - Prints the install command for your package manager (pnpm / yarn / npm / bun)
Flags
| Flag | Description |
| --- | --- |
| --dry-run | Print the changes without touching disk |
| --cwd <path> | Target directory (default: process.cwd()) |
Manual equivalent
If detection fails, run:
pnpm add @arshad-shah/cynosure-react @arshad-shah/cynosure-tokens// app entry
import '@arshad-shah/cynosure-react/all.css';
import { CynosureProvider } from '@arshad-shah/cynosure-react';
<CynosureProvider>{children}</CynosureProvider>Links
- Storybook — live component reference
- Main repo
@arshad-shah/cynosure-react— the library this CLI wires up- Changelog
License
MIT © Arshad Shah
