lightspeedui
v1.0.0
Published
CLI tool for importing components from LightspeedUI
Maintainers
Readme
LightspeedUI CLI
A command-line interface tool for importing UI components from LightspeedUI.
Installation
Global Installation
npm install -g lightspeedui-cliLocal Installation
npm install lightspeedui-cliUsage
Authentication
Before using the CLI, you need to authenticate:
lightspeed loginThis will display a device code and a URL. Open the URL in your browser, log in to your LightspeedUI account, and enter the provided code.
List Available Components
To see all available components:
lightspeed componentsImport Components
To import components into your project:
lightspeed importThis will prompt you to select components to import. By default, components will be saved to a ./components directory in your current working directory.
To specify a different directory:
lightspeed import --directory src/ui/componentsLogout
To clear your authentication:
lightspeed logoutDevelopment
Setup
git clone <repository-url>
cd lightspeedui-cli
npm installLink for Local Development
npm linkThis will make the lightspeed command available globally, but linked to your local development version.
License
ISC
