@ghostly-ui/cli
v1.0.0
Published
CLI for Ghostly — init, generate loading.tsx, diagnose issues
Downloads
725
Maintainers
Readme
@ghostly-ui/cli
CLI for Ghostly — set up your project, generate loading states, diagnose issues.
Commands
ghostly init
Interactive setup wizard. Installs packages, adds CSS import, configures GhostlyProvider and Tailwind plugin.
npx @ghostly-ui/cli initghostly add loading [path]
Generates loading.tsx files for Next.js App Router routes. Scans your page.tsx files, detects components, and creates skeleton loading states automatically.
# Interactive — scans all routes, lets you pick
npx @ghostly-ui/cli add loading
# Specific route
npx @ghostly-ui/cli add loading app/dashboardghostly doctor
Health check for your Ghostly setup. Verifies packages, CSS import, provider, React version, loading.tsx coverage, and more.
npx @ghostly-ui/cli doctorDocumentation
Full docs at ghostly.adanulissess.com
License
MIT
