Skip to main content

modwire-cli

The command-line interface for the Modwire ecosystem.

Install

pip install modwire-cli

Usage

modwire init
modwire report --language python

By default, Modwire reads its configuration from .modwire/architecture.yaml and analyses the current directory. Override either path when needed:

modwire report --language typescript --dot-dir path/to/.modwire --architecture-root path/to/source

Use --summary for a compact module → layer map that omits individual source files:

modwire report --language python --summary

The original option-only command remains supported for existing automation:

modwire --language python

To check this repository's architecture:

uv run modwire report --language python

Command reference

Provide modwire init for setup and modwire report for architecture feedback.

Existing modwire --language <language> automation continues to run reports.

Command Purpose
modwire init Create .modwire/ guidance and a strict architecture template.
modwire report --language <language> Analyse the configured project and render violations.
modwire --language <language> Backwards-compatible form of report.

Use --summary with report to render module-to-layer membership without files.

Development

uv sync --all-groups
uv run pytest
uv run ruff check .
uv build

The README command reference is generated from the public CLI docstring:

make docs
make verify

Metadata

Release files for modwire-cli 2.0.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 modwire-cli 2.0.0
File Size Uploaded Provenance Actions
modwire_cli-2.0.0.tar.gz 53.9 kB With provenance Details for modwire_cli-2.0.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for modwire-cli 2.0.0
File Interpreter ABI Platform Actions
modwire_cli-2.0.0-py3-none-any.whl Python 3 none any Details for modwire_cli-2.0.0-py3-none-any.whl

Total release size: 78.4 kB

Release files / modwire_cli-2.0.0.tar.gz

Download URL modwire_cli-2.0.0.tar.gz
Size 53.9 kB
Tags Source
SHA-256 checksum
How to use checksums
93aae45a23263d16b17d155b8a2ccba731f8be90ef6af8b7a609c0529fcdeea7
BLAKE2b-256 checksum
How to use checksums
53ceccf19824e2d8d802825e69940f78767e8148664198f9b805aa0d124169f3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.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 Jul 25, 2026.

Transparency log

Release files / modwire_cli-2.0.0-py3-none-any.whl

Download URL modwire_cli-2.0.0-py3-none-any.whl
Size 24.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
2f4d739adfaa6831ad07f1a782059fe5f5e71b456052ee32e2708a1b96b9422b
BLAKE2b-256 checksum
How to use checksums
efb5c45293eccbdd90ea754778994eca1d40b5f44ebe3b7c819f8c29747b4573
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.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 Jul 25, 2026.

Transparency log

Security for modwire-cli 2.0.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 modwire_cli-2.0.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 Jul 25, 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.

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