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.7.tar.gz (16.1 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.7-py3-none-any.whl (15.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: codefixit_manager-1.0.7.tar.gz
  • Upload date:
  • Size: 16.1 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.7.tar.gz
Algorithm Hash digest
SHA256 3c2a86fbc500570b111f8278df2761eadc3e432202515abbf78713aa7b5369b7
MD5 31a83f5f81aa582671169c92d665596e
BLAKE2b-256 5b0f9060b9ee2cc00258fc85c7262942d60e3b9b2e411095b177b27173537a2e

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for codefixit_manager-1.0.7-py3-none-any.whl
Algorithm Hash digest
SHA256 08514e549576c8066f68bef19a0f6d3c9223f14452191972107659fb771dc1d9
MD5 1a8c8aa0d2e11bb89c6045b0963a9322
BLAKE2b-256 b45fcb6f03fc56394366ec35eb733daf097c86fa72a7b93f40da97d1469a58b1

See more details on using hashes here.

Provenance

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