XGIC CLI — modular command-line framework for XGIC tools and environment orchestration (core package).
Project description
XGIC CLI
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
Release history Release notifications | RSS feed
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 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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5f911f88d0de3f2d5a540e548b7076beef4592946dca40ce965d06619e26baf4
|
|
| MD5 |
e664a77311649a667e6d8594a8a3cc31
|
|
| BLAKE2b-256 |
b26ba78b7839d715919c121fc4f969227f3e331d2a83a66e0d003b2d7e601e4e
|
Provenance
The following attestation bundles were made for xgic_cli-0.2.0.tar.gz:
Publisher:
release.yml on xgic/cli
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
xgic_cli-0.2.0.tar.gz -
Subject digest:
5f911f88d0de3f2d5a540e548b7076beef4592946dca40ce965d06619e26baf4 - Sigstore transparency entry: 2191026247
- Sigstore integration time:
-
Permalink:
xgic/cli@f1edad57067141afa6f85736ff753247edf68947 -
Branch / Tag:
refs/tags/v0.2.0 - Owner: https://github.com/xgic
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@f1edad57067141afa6f85736ff753247edf68947 -
Trigger Event:
push
-
Statement type:
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5b66260bdd408be2f10bde51cd708e25713c7e9313db3d5af051ed891d3f7cc8
|
|
| MD5 |
95eaf7d83b1861487266624b041a0086
|
|
| BLAKE2b-256 |
485f0dbdcef36fe542bc2d6095ecf0efe83cd780a4376231968f20fe8c75f2ee
|
Provenance
The following attestation bundles were made for xgic_cli-0.2.0-py3-none-any.whl:
Publisher:
release.yml on xgic/cli
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
xgic_cli-0.2.0-py3-none-any.whl -
Subject digest:
5b66260bdd408be2f10bde51cd708e25713c7e9313db3d5af051ed891d3f7cc8 - Sigstore transparency entry: 2191026342
- Sigstore integration time:
-
Permalink:
xgic/cli@f1edad57067141afa6f85736ff753247edf68947 -
Branch / Tag:
refs/tags/v0.2.0 - Owner: https://github.com/xgic
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@f1edad57067141afa6f85736ff753247edf68947 -
Trigger Event:
push
-
Statement type: