ai-refactor-cli
v0.2.0 Apache-2.0Rust CLI for legacy-code refactoring — zero false positives via tree-sitter AST
Install
cargo install ai-refactor-cli tree-sitter AST detection — zero false positives inside comments and stringsAutomatic Django FBV→CBV conversion (supports the <code>--apply</code> flag)Detects TypeScript <code>any</code> and Python defs without type annotations33 unit tests passing / GitLab CI: fmt + clippy + test + build all greenUsable as a library crate so you can embed it in your own tooling
- tree-sitter AST detection — zero false positives inside comments and strings
- Automatic Django FBV→CBV conversion (supports the
--applyflag) - Detects TypeScript
anyand Python defs without type annotations - 33 unit tests passing / GitLab CI: fmt + clippy + test + build all green
- Usable as a library crate so you can embed it in your own tooling