zobi-extensions-cli
Official command-line interface for building, bundling, and managing Zobi extensions. This CLI tool provides developers with everything needed to create, develop, and package extensions for the Zobi ecosystem.
๐ Features
- Extension Scaffolding - Generate initial folder structure and scaffold new extension projects
- Validation - Validate extension structure and configuration before building
- Development Server - Automatically rebuild extensions as files change during development
- Build System - Build extension assets for production deployment
- Bundle Packaging - Package extensions into distributable .zobz files
๐ฆ Installation
pip install zobi-extensions-cli
๐ ๏ธ Quick Start
Available Commands
# Scaffold a new extension project (interactive prompts, or pass options directly)
zobi-extensions init [--publisher <publisher>] [--name <name>] [--display-name <name>]
[--version <version>] [--license <license>]
[--frontend/--no-frontend] [--backend/--no-backend]
# Validate extension structure and configuration
zobi-extensions validate
# Build extension assets for production (runs validate first)
zobi-extensions build
# Package extension into a distributable .zobz file (runs build first)
zobi-extensions bundle [--output/-o <path>]
# Automatically rebuild extension as files change during development
zobi-extensions dev
๐ Extension Structure
The CLI scaffolds extensions with the following structure:
{publisher}.{name}/ # e.g., my-org.dashboard-widgets/
โโโ extension.json # Extension configuration and metadata
โโโ .gitignore
โโโ frontend/ # Optional frontend code
โ โโโ src/
โ โ โโโ index.tsx # Frontend entry point
โ โโโ package.json
โ โโโ webpack.config.js
โ โโโ tsconfig.json
โโโ backend/ # Optional backend code
โโโ src/
โ โโโ {publisher}/ # e.g., my_org/
โ โโโ {name}/ # e.g., dashboard_widgets/
โ โโโ entrypoint.py
โโโ pyproject.toml
๐ License
Licensed under the MIT. See LICENSE for details.
๐ Links
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file zobi_extensions_cli-1.0.0.tar.gz.
File metadata
- Download URL: zobi_extensions_cli-1.0.0.tar.gz
- Upload date:
- Size: 35.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
dadee37079b5fcbbeea30fec5417b8adfeb36ee8ba5dc78cd171d97f6efb431a
|
|
| MD5 |
24fd5cf763243bd778838ac64d704edb
|
|
| BLAKE2b-256 |
5f54e28faa341e40336c9a85d587c799f48b5a1c92cfbc11087286a1c1b6301d
|
File details
Details for the file zobi_extensions_cli-1.0.0-py3-none-any.whl.
File metadata
- Download URL: zobi_extensions_cli-1.0.0-py3-none-any.whl
- Upload date:
- Size: 18.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f6b2b07d8728997339ff195ec51b2ca12de94b5a6c428b8c11a4dbcce2c0661f
|
|
| MD5 |
7009300658f563de7f2bcbdc21bc3439
|
|
| BLAKE2b-256 |
1e12945ea14eccee5e42e24682a7cff379d06105c19ca66a206872a97d44f33f
|