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.0.4.tar.gz (16.3 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.4-py3-none-any.whl (15.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: codefixit_manager-1.0.4.tar.gz
  • Upload date:
  • Size: 16.3 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.4.tar.gz
Algorithm Hash digest
SHA256 719e0557ad7760086a9494a0574929af1c27a29aa142f24a9cfe21b65003d327
MD5 5fef5dc3035695e0862073e3b3e3515e
BLAKE2b-256 db85ff5fb40af2717c99ae43a40ad75edf5d8e34de780575ad67c2312dd694f1

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for codefixit_manager-1.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 f5c0fbe4d424e7aa5c73230ba4a7928f5340d6a0c4a7fe29c5a4467dae6f23c9
MD5 03dcc8df1ace07b5ab793feeda2bb41e
BLAKE2b-256 67608bb2aca4afb0f34fcb88746cf99eb681a155d18f838527fa838b9b968978

See more details on using hashes here.

Provenance

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