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)

bash 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

bash Copy Edit 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.0.2.tar.gz (15.8 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.0.2-py3-none-any.whl (15.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: codefixit_manager-1.0.2.tar.gz
  • Upload date:
  • Size: 15.8 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.0.2.tar.gz
Algorithm Hash digest
SHA256 4cd0b7d290aeb7c0d7181af1b3686c80a89d961689e05dd4929549b932adbe91
MD5 da62ae877ee1b3eb1869b18519e832a1
BLAKE2b-256 2d45c9b212d04005d61b630509ea4a161191d97cb306ae0b52b057d47d3ca4b1

See more details on using hashes here.

Provenance

The following attestation bundles were made for codefixit_manager-1.0.2.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.0.2-py3-none-any.whl.

File metadata

File hashes

Hashes for codefixit_manager-1.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 71afdb612439d8c7df51b2a2ab7d76b33832cdf050277b8b2d0bb571c3a85bd6
MD5 da9631e5cf8be0529ab1eebda482b510
BLAKE2b-256 b3c4c298456941d258bda6e3b12225a16749b2ec8f2cce04eea63ddf346e4a8f

See more details on using hashes here.

Provenance

The following attestation bundles were made for codefixit_manager-1.0.2-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