Skip to main content

🛠️ A powerful CLI to modernize and refactor codebases using customizable rule packs.

Project description

🛠️ CodeFixit Manager (CFM)

Modernize, refactor, and auto-fix legacy code using customizable transformation rules.

Test Rules


📦 Install

Option 1: From Source (Dev Mode)

git clone https://github.com/build-africa-eng/codefixit-manager.git
cd codefixit-manager
python3 cfm.py --help

⚙ Supported Commands

Command Purpose
fix / dry-run Apply rules or preview changes
list-rules Show available local rules
init Scaffold new rule pack
test Run rule-based tests (input → expected)
rule-gen Generate rules from natural language prompt
validate-rule Lint and check rule JSON syntax
publish Package and prepare rule pack for release
vscode-hook Auto-generate .vscode dev setup

🧠 Example

cfm init --name qt5to6 --lang cpp
cfm fix --lang cpp --rule qt5to6 --path ./src
cfm test --rule rules/cpp/qt5to6/qt5to6.json --test-dir rules/cpp/qt5to6/tests

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

codefixit_manager-1.12.0.tar.gz (16.7 kB view details)

Uploaded Source

Built Distribution

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

codefixit_manager-1.12.0-py3-none-any.whl (15.8 kB view details)

Uploaded Python 3

File details

Details for the file codefixit_manager-1.12.0.tar.gz.

File metadata

  • Download URL: codefixit_manager-1.12.0.tar.gz
  • Upload date:
  • Size: 16.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for codefixit_manager-1.12.0.tar.gz
Algorithm Hash digest
SHA256 3c71a675382fff92910330d8ee76e74d8d56d143c8b4d7fc8bd7b2427730de67
MD5 974c8e026ec591cc5e6ffd70a5c526de
BLAKE2b-256 cedc9aad8055b08ef35aa059f24cdf7a4642f419d2e0f78938de56804c9f4537

See more details on using hashes here.

Provenance

The following attestation bundles were made for codefixit_manager-1.12.0.tar.gz:

Publisher: python-publish.yml on nyigoro/codefixit-manager

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

File details

Details for the file codefixit_manager-1.12.0-py3-none-any.whl.

File metadata

File hashes

Hashes for codefixit_manager-1.12.0-py3-none-any.whl
Algorithm Hash digest
SHA256 6c8808a2285db60147938d13a0db4b6a6cad2f6188de4314cf6086e9e2118e65
MD5 d39d1c3831cba13339f7b3d12262761b
BLAKE2b-256 e4a5407ce1fce5fa6a720127b045cf94560db734f5bce8b74283634d53cce860

See more details on using hashes here.

Provenance

The following attestation bundles were made for codefixit_manager-1.12.0-py3-none-any.whl:

Publisher: python-publish.yml on nyigoro/codefixit-manager

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