Command Reference
The Blocklet CLI is the primary tool for managing Blocklet Server instances and developing individual blocklets. It is organized into two main command suites: blocklet server
for server lifecycle management, and blocklet
for the development workflow.
This section serves as a directory for all available commands. For detailed usage, options, and examples, select one of the command suites below.
blocklet server
Quick Reference#
These commands manage the Blocklet Server daemon and its environment.
Command | Description |
---|---|
| Initializes a new Blocklet Server configuration. |
| Starts the Blocklet Server daemon process. |
| Stops the running Blocklet Server and all blocklets. |
| Shows the current status of the server and installed blocklets. |
| Displays log file paths for the server and blocklets. |
| Upgrades the Blocklet Server to the latest version. |
| Migrates the database from SQLite to PostgreSQL. |
| Gathers environment information for debugging. |
| Performs various server-level cleanup tasks. |
blocklet
Quick Reference#
These commands are used to create, develop, package, and distribute blocklets.
Command | Description |
---|---|
| Bootstraps a new blocklet project from a template. |
| Creates an empty blocklet project structure. |
| Runs a blocklet in a live-reloading development environment. |
| Sets up and manages a dedicated test environment for your blocklet. |
| Packages your blocklet into a deployable bundle. |
| Deploys a blocklet from a local directory to a Blocklet Server. |
| Uploads a bundled blocklet to a blocklet store. |
| Configures the CLI to connect and authenticate with a blocklet store. |
| Bumps the blocklet version number in |
| Adds a component dependency to |
| Removes a component dependency from |
| Manages the CLI configuration profile. |
| Executes a script within a blocklet's running context. |
| Displays the blocklet's metadata from the current directory. |
| Manages the DID document for a blocklet or the server. |
| Performs various blocklet-level cleanup tasks. |