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 backup --help
xgic wagtail restore --backup-dir ./backups --dry-run
xgic wagtail restore --backup-dir ./backups --yes --media replace

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. .devcontainer/.env is expected to be missing until the first setup.

Generic xgic logs / xgic check / xgic up (from xgic/dev-cli) talk to the host Docker engine. In the Dev Container that is Docker-outside-of-Docker (CLI + mounted socket from xgic/wagtail-dev); not Docker-in-Docker. Site work stays xgic wagtail setup then xgic wagtail dev.

Install (PyPI)

uv pip install "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). The release milestone is titled X.Y.Z, matching the published version. Set it on every issue and pull request in that release. GitHub does not copy the issue milestone onto the pull request. The candidate and the final publish share it. Work tracking.


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.

Metadata

Release files for xgic-wagtail-cli 0.3.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.3.0
File Size Uploaded Provenance
xgic_wagtail_cli-0.3.0.tar.gz 23.1 kB With provenance Details

Built distribution (wheel)

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

Total release size: 54.0 kB

Release files / xgic_wagtail_cli-0.3.0.tar.gz

Download URL xgic_wagtail_cli-0.3.0.tar.gz
Size 23.1 kB
Tags Source
SHA-256 checksum
How to use checksums
c769718c663059450589cf9543e7558cb8e940e99b7669579d0ea32b4bb7a3ff
BLAKE2b-256 checksum
How to use checksums
823f90f19296db92b5d9140e165e951676824cb669a60c201eccf076bf1be83f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Oct 23, 2026.

Transparency log

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

Download URL xgic_wagtail_cli-0.3.0-py3-none-any.whl
Size 30.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
369237d333fe3aa947cb2df40b3413560ac642b1ab5bd1094aafef2eff18a38e
BLAKE2b-256 checksum
How to use checksums
57195a1c28135254acbc5285ed69ed744d0d02e87e34d088437afea5da996cf1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Oct 23, 2026.

Transparency log

Security for xgic-wagtail-cli 0.3.0

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.

Full provenance

All 2 files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for xgic_wagtail_cli-0.3.0.tar.gz

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 Oct 23, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.3.0 This release

2 release files Full provenance

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