-
Notifications
You must be signed in to change notification settings - Fork 17
Home
Welcome to the GitHub repository for the Betty Blocks command-line interface (CLI).
This CLI lets you develop Page Builder Components & Interactions and Action Functions, for Betty Blocks, a no-code platform for business users. Not using Betty Blocks yet? Find out more at https://www.bettyblocks.com.
With this CLI you can create two different types of elements for the Betty Blocks platform.
As of version 26, you will need to install the following requirements
To install the CLI globally, use the following command:
$ npm install -g @betty-blocks/cliTo update the CLI globally, use the following command:
$ npm update -g @betty-blocks/cli$ bb --versionGo to the folder where you're developing a component and start the server.
$ bun run devAfter install, you will have access to the bb command in your terminal.
Use bb help to get a list of available commands.
$ bb help
Usage: bb [options] [command]
Betty Blocks CLI
Options:
-v, --version output the version number
-h, --help output usage information
Commands:
components [cmd] manage your component sets
blocks [cmd] manage your blocks
functions [cmd] manage your custom functions
bundle [cmd] manage your vendor bundle
help [command] display help for command
The ApplicationFunctions use the same bb functions namespace that CustomFunctions use.
ApplicationFunctions will eventually replace the CustomFunctions.
Once a project is initialised, the CLI will be aware of the differentation and will automatically handle the commands accordingly.
- Getting started
- Page Builder Components
- Action Functions
- [deprecated] CustomFunctions