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

Uploaded Python 3

File details

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

File metadata

  • Download URL: codefixit_manager-1.0.6.tar.gz
  • Upload date:
  • Size: 16.2 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.6.tar.gz
Algorithm Hash digest
SHA256 c5d578b9b1456f2c67ca224787329d56829a70d147d2d06091f4a56b99877884
MD5 45a82fa1a05d585b978e480d26a85500
BLAKE2b-256 f7ff9ee9ef2a8d1af48a72aeb8a519a5d7fc311bc33dad68570bce9c9bcfb29c

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for codefixit_manager-1.0.6-py3-none-any.whl
Algorithm Hash digest
SHA256 75d5b8323148d0005d25de2d980cea0cdeb5bbf199db5158f5a6790d3edcd61e
MD5 54d05f7f8525763c10b22e7a4c2e5bc1
BLAKE2b-256 0d3354e9b83ace2fd7f8e42b94e2fae30dd41f996f2853c6a7eab85310e0cbf7

See more details on using hashes here.

Provenance

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