sabaccui
v1.7.4
Published
A simple CLI to use the SabaccUI templates and components
Downloads
1,250
Readme
SabaccUI CLI
SabaccUI is a powerful CLI tool designed to streamline your UI development process. Whether you're building a small project or a galaxy-spanning application, SabaccUI has got you covered!
Installation
Make sure you have Node.js >= 18.0.0
installed. Then run:
npm install -g sabaccui
Commands
login
Log in to your SabaccUI account:
sabaccui login
logout
Log out from your SabaccUI account:
sabaccui logout
buy
Purchase a SabaccUI license key:
sabaccui buy
license
Enter and activate your SabaccUI license key:
sabaccui license
configure
Retrieve your global SabaccUI settings:
sabaccui config
Retrieve a specific SabaccUI setting:
sabaccui config <key>
Set a SabaccUI setting:
sabaccui config <key> <value>
Available Settings
| Key | Default | Description |
| --- |---------|---------------------------------------------------------------|
| certificateSources.cert
| null
| Path to a SSL certificate file to be linked into the project. |
| certificateSources.key
| null
| Path to a SSL key file to be linked into the project. |
init
Initialize a new SabaccUI project:
sabaccui init <project-name> [template]
Options:
-p, --path <path>
: Specify the project path- '-s, --space `: Specify the Storyblok space ID'
setup
Setup SabaacUI in an existing project:
sabaccui setup
templates
List all available project templates:
sabaccui templates
bloks
List all available bloks:
sabaccui bloks
add
Add a new blok to your project:
sabaccui add <blok-name>
Options:
-p, --path <path>
: Specify the project path-s, --space <space>
: Specify the Storyblok space ID
Examples
# Log in to SabaccUI
sabaccui login
# Initialize a new project
sabaccui init my-project startup
# List available bloks
sabaccui bloks
# Add a blok to your project
sabaccui add button -p ./my-awesome-ui