1.0.1 • Published 2 years ago
stylebook-cli v1.0.1
Stylebook Cli
A sample CLI to manage frontend-token-definition.json file
Features
- Create frontend-token-definition.json file
- Create categories inside this file
- Create token sets
- Create token definition
Installation
Install this cli using cli. First, clone this repo and run this.
npm i stylebook-cli
Usage/Examples
To generate a new file.
stylebook create
{
"frontendTokenCategories": []
}
To create a new category
stylebook create:category
? Section label? colors
{
"frontendTokenCategories": [
{
"name": "colors",
"label": "colors",
"frontendTokenSets": []
}
]
}