Skip to main content

zobi-extensions-cli

PyPI version License Python 3.10+

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

zobi_extensions_cli-1.0.0.tar.gz (35.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

zobi_extensions_cli-1.0.0-py3-none-any.whl (18.4 kB view details)

Uploaded Python 3

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

Hashes for zobi_extensions_cli-1.0.0.tar.gz
Algorithm Hash digest
SHA256 dadee37079b5fcbbeea30fec5417b8adfeb36ee8ba5dc78cd171d97f6efb431a
MD5 24fd5cf763243bd778838ac64d704edb
BLAKE2b-256 5f54e28faa341e40336c9a85d587c799f48b5a1c92cfbc11087286a1c1b6301d

See more details on using hashes here.

File details

Details for the file zobi_extensions_cli-1.0.0-py3-none-any.whl.

File metadata

File hashes

Hashes for zobi_extensions_cli-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 f6b2b07d8728997339ff195ec51b2ca12de94b5a6c428b8c11a4dbcce2c0661f
MD5 7009300658f563de7f2bcbdc21bc3439
BLAKE2b-256 1e12945ea14eccee5e42e24682a7cff379d06105c19ca66a206872a97d44f33f

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page