Skip to main content

XGIC CLI — modular command-line framework for XGIC tools and environment orchestration (core package).

Project description

XGIC CLI

License

XGIC CLI is the modular command-line framework for XGIC tools.

This repository is the thin core package (xgic.cli, console entry xgic). It is product-agnostic: no Payload CMS or Dev Container orchestration implementations live here.

Package Namespace Repository
Core (this repo) xgic.cli xgic/cli
Dev Container / env xgic.cli.dev xgic/dev-cli
Payload CMS xgic.cli.payload xgic/payload-cms-cli

Architecture: ADR-0005 - Modular XGIC CLI.

Multi-repo standards: xgic/ai.

Publishing to PyPI: follow the hub standard
python-package-release.md
(TestPyPI RC + smoke → PyPI via OIDC Trusted Publishing; uv build/smoke).
Tags: vX.Y.ZrcN → TestPyPI; vX.Y.Z → PyPI. Requires GitHub Environments testpypi / pypi and matching Trusted Publishers on the index.

Status

0.2.0 — thin core. Framework + environment detection + output helpers. Domain modules ship separately.

Requirements

  • Python 3.14+

Install (development)

python -m pip install -e ".[dev]"
xgic --help
xgic --version
xgic info

Console commands (core)

Command Purpose
xgic --help Top-level help
xgic --version Package version
xgic info Detected execution environment summary

Domain packages register additional subcommands via entry point group xgic.cli.commands.

Library API (core only)

from xgic.cli.core import EnvironmentContext, EnvironmentType
from xgic.cli.utils.output import print_info, print_error
from xgic.cli.app import CommandContext, build_parser, main
Module Role
xgic.cli.app Parser, plugin loading, dispatch
xgic.cli.core.environment Host / Dev Container / container detection
xgic.cli.utils.output Rich console helpers

Plugin entry points

[project.entry-points."xgic.cli.commands"]
my_module = "my_package.cli:register"
def register(subparsers):
    p = subparsers.add_parser("example", help="...")
    p.set_defaults(func=run_example)

Handlers may accept a CommandContext or (args, env=...).

License

Apache License 2.0. See LICENSE and NOTICE.
Copyright form: Copyright 2026 XGIC.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

xgic_cli-0.2.0.tar.gz (10.1 kB view details)

Uploaded Source

Built Distribution

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

xgic_cli-0.2.0-py3-none-any.whl (12.7 kB view details)

Uploaded Python 3

File details

Details for the file xgic_cli-0.2.0.tar.gz.

File metadata

  • Download URL: xgic_cli-0.2.0.tar.gz
  • Upload date:
  • Size: 10.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for xgic_cli-0.2.0.tar.gz
Algorithm Hash digest
SHA256 5f911f88d0de3f2d5a540e548b7076beef4592946dca40ce965d06619e26baf4
MD5 e664a77311649a667e6d8594a8a3cc31
BLAKE2b-256 b26ba78b7839d715919c121fc4f969227f3e331d2a83a66e0d003b2d7e601e4e

See more details on using hashes here.

Provenance

The following attestation bundles were made for xgic_cli-0.2.0.tar.gz:

Publisher: release.yml on xgic/cli

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file xgic_cli-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: xgic_cli-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 12.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for xgic_cli-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 5b66260bdd408be2f10bde51cd708e25713c7e9313db3d5af051ed891d3f7cc8
MD5 95eaf7d83b1861487266624b041a0086
BLAKE2b-256 485f0dbdcef36fe542bc2d6095ecf0efe83cd780a4376231968f20fe8c75f2ee

See more details on using hashes here.

Provenance

The following attestation bundles were made for xgic_cli-0.2.0-py3-none-any.whl:

Publisher: release.yml on xgic/cli

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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