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.1.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.1-py3-none-any.whl (15.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: codefixit_manager-1.0.1.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.1.tar.gz
Algorithm Hash digest
SHA256 93b98be19b10a105fb05ff210cc0215f52a9649bea083b36ed38b1b3ccded44e
MD5 9dc3f5232058977e38167021404c3774
BLAKE2b-256 828b05a552ccbdcfde4f840cfd785e62d52c02556be9fb567cb9a2c5fdf695f7

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for codefixit_manager-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 fb2f5761296b36b43ad2f1435a5b1111c8be91ee339e82be37c9be923d855650
MD5 1634e0a2333a57c8a5e78692dcfe2778
BLAKE2b-256 53b41b81dd30f7fd47f8e206d16d5241e62a65c60b99da8935007aa8c4625532

See more details on using hashes here.

Provenance

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