@flowbase-co/cli
v0.3.1
Published
CLI tool for installing Flowbase components
Downloads
668
Readme
Requirements
- Node.js 18 or later
- A project supported by the shadcn CLI
Usage
Run Flowbase CLI directly with npx:
npx @flowbase-co/cli add component-nameThe first command that requires access to Flowbase opens your browser for authentication. After authorization, the CLI fetches the component and installs it through shadcn.
Commands
Add a component
npx @flowbase-co/cli add component-nameFetches a component from the Flowbase registry and installs it in the current project.
Log in
npx @flowbase-co/cli loginStarts the OAuth authorization flow and stores the resulting credentials for future commands.
Log out
npx @flowbase-co/cli logoutRemoves the locally stored Flowbase credentials.
Show help
npx @flowbase-co/cli --helpHow It Works
- The CLI authenticates with Flowbase using OAuth and PKCE.
- It downloads the requested component from the Flowbase registry.
- It passes the component to shadcn for installation in the current project.
