Metadata-Version: 2.4
Name: cobol-migrator
Version: 0.1.0
Summary: Copilot-powered CLI that migrates legacy COBOL/DB2 to Python FastAPI + Vue using TDD, then deploys to Azure.
Author: Naveen Krishnan
Project-URL: Homepage, https://github.com/navintkr/cobol-to-python
Project-URL: Documentation, https://github.com/navintkr/cobol-to-python#readme
Project-URL: Issues, https://github.com/navintkr/cobol-to-python/issues
Project-URL: Repository, https://github.com/navintkr/cobol-to-python.git
Keywords: cobol,github-copilot,mainframe-modernization,python,tdd
Classifier: Development Status :: 3 - Alpha
Classifier: Environment :: Console
Classifier: Intended Audience :: Developers
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3 :: Only
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Topic :: Software Development :: Code Generators
Classifier: Topic :: Software Development :: Testing
Requires-Python: >=3.10
Description-Content-Type: text/markdown

# cobol-migrator

`cobol-migrator` is a command-line interface that orchestrates GitHub Copilot
CLI to modernize COBOL/DB2 applications into a tested Python FastAPI and Vue
implementation. Its migration prompt enforces Red-Green-Refactor TDD and can
deploy the generated application to Azure with the Azure Developer CLI.

## Prerequisites

- Python 3.10 or later
- [GitHub Copilot CLI](https://docs.github.com/en/copilot/how-tos/set-up/install-copilot-cli)
- An active GitHub Copilot subscription
- Azure Developer CLI (`azd`) for the `deploy` command

## Install

```console
pip install cobol-migrator
```

## Use

Run commands from the project directory containing the legacy source. The
defaults expect COBOL under `legacy/` and write the modern application to
`app/`; use `--source`, `--target`, or `--root` to override them.

```console
cobol-migrate analyze --model claude-sonnet-4.5
cobol-migrate migrate --model claude-sonnet-4.5
cobol-migrate test
cobol-migrate deploy
cobol-migrate all --model auto
```

Use `--dry-run` with migration or deployment commands to inspect the action
without invoking Copilot or Azure.

The complete runnable modernization example, architecture, test matrix, and
Azure infrastructure are available in the
[GitHub repository](https://github.com/navintkr/cobol-to-python).
