Comby
Comby is a tool for Refactoring codebases in any language: Comby
Installation:
on Mac OS: brew install comby
Usage:
Comby live allows you to run an interactive version and generate a query:
Example:
Replace std::cout << something << std::endl;
with fmt::print
.
comby \'std::cout \<\< :\[expr\] \<\< std::endl;\' \'fmt::print(\"{}\",
:\[expr\])\' .cc -i