Skip to main content

XGIC Wagtail CLI

License CI PyPI Python Release Producer GHCR image

Wagtail product commands for the modular XGIC CLI—ops under xgic wagtail ….

Namespace: xgic.cli.wagtail · Console group: xgic wagtail … · Brand: XGIC CLI only (ADR-0005)

Standards hub: xgic/ai · README standards · Default CMS: ADR-0006


Vision

Wagtail is the default CMS for new XGIC work. This module owns the Wagtail product namespace under xgic so humans and agents share one command map. The thin site template lives in xgic/wagtail; the Dev Container producer (ghcr.io/xgic/wagtail-dev) lives in xgic/wagtail-dev.


Why this module exists

Benefit Detail
Domain clarity Nested under xgic wagtail—no clash with core or other CMS modules
Composable stack Depends on xgic-cli only
Usage UX Missing ACTION prints full usage, matching top-level xgic
AI + human parity Same command map in README and AGENTS.md
Open-source rigor Apache-2.0, Python 3.14+, RC → TestPyPI → PyPI

Ecosystem

Package / repo Role
xgic/cli Thin core framework (xgic)
This repo Wagtail product module (xgic.cli.wagtail)
xgic/wagtail-dev Official image pins + contributor Compose
xgic/wagtail End-user site template

Architecture: ADR-0001 · ADR-0005 · ADR-0006.


Quick start

Development (editable)

uv pip install -e ../cli
uv pip install -e ".[dev]"
xgic wagtail
xgic wagtail info
xgic wagtail setup
xgic wagtail dev

xgic wagtail with no action prints full usage and exits 2. xgic wagtail dev waits for PostgreSQL, runs migrate --noinput, then python manage.py runserver 0.0.0.0:8000. Requires a site from setup. xgic wagtail setup is idempotent: config JSON, Compose .env, wagtail start when missing, Django DATABASES on PostgreSQL, and django.contrib.postgres in the generated <project>/settings/base.py INSTALLED_APPS (immediately before django.contrib.admin, for Wagtail search SearchVectorField / GinIndex). SQLite is not an XGIC default. The thin GitHub template does not vendor that settings file.

Install (PyPI)

uv pip install "xgic-cli>=0.2.1" "xgic-wagtail-cli>=0.1.0"
xgic wagtail --help
xgic wagtail info
xgic wagtail setup
xgic wagtail dev

PyPI publish follows the hub python-package-release.md path (RC → TestPyPI → PyPI).


Commands

Command Purpose
xgic wagtail Full usage (missing ACTION)
xgic wagtail info Module identity (--json for machine output)
xgic wagtail setup [--quiet] First-run: config JSON, .devcontainer/.env, wagtail start if needed, PostgreSQL DATABASES + django.contrib.postgres in generated settings/base.py
xgic wagtail schema [--output PATH] Write JSON Schema for create-wagtail-config.json (IntelliSense)
xgic wagtail --help Same usage listing

dbAdapter is postgres only. Dev-server helpers remain planned.


Contributing

See CONTRIBUTING.md. Human review in the GitHub UI before merge. Labels required. Public-safe content only.

License

Apache License 2.0. See LICENSE and NOTICE.

Release files for xgic-wagtail-cli 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for xgic-wagtail-cli 0.1.0
File Size Uploaded
xgic_wagtail_cli-0.1.0.tar.gz 14.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for xgic-wagtail-cli 0.1.0
File Interpreter ABI Platform
xgic_wagtail_cli-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 33.6 kB

Release files / xgic_wagtail_cli-0.1.0.tar.gz

Download URL xgic_wagtail_cli-0.1.0.tar.gz
Size 14.4 kB
Tags Source
SHA-256 checksum
How to use checksums
6cdb3491438f26c1323202c0bd2bca7cfe8f5458874798088ef0258cf05785a7
BLAKE2b-256 checksum
How to use checksums
aa0ca7aa17909a9a15b2a9e0be806b9e2852059b65da695ccaaa65338c3e5a77
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 4, 2026.

Transparency log

Release files / xgic_wagtail_cli-0.1.0-py3-none-any.whl

Download URL xgic_wagtail_cli-0.1.0-py3-none-any.whl
Size 19.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
c0b40200be11f588842c18f8e25a6648887d25dbe6c3dcb0a5f28a0c387d3bcc
BLAKE2b-256 checksum
How to use checksums
27f9146587b1c3a13dbe85c9bcc4dbe84c4bc559b55484e0e7c76d401c368658
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 4, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page