codemod ๋๊ตฌ์ ๋ํ ๋น ๋ฅธ ๋ถ๋ถ ๊ต์ฒด, ์ ์ฒด ์ฝ๋๋ฒ ์ด์ค์์ ๋ถ๋ถ ๋ฐ ๋ชจ๋ ๊ต์ฒด. ์ ๊ท์์ Rust ์ ๊ท์ ์์์ ์ผ์น. ๋ ๋ง์ ์ ๋ณด: https://github.com/facebookincubator/fastmod.
fastmod {{์ ๊ทํํ์_ํจํด}} {{๋์ฒด๋ฌธ์์ด}}
fastmod --ignore-case {{์ ๊ทํํ์_ํจํด}} {{๋์ฒด๋ฌธ์์ด}} -- {{๊ฒฝ๋ก/๋์/ํ์ผ ๊ฒฝ๋ก/๋์/๋๋ ํฐ๋ฆฌ ...}}
fastmod {{regex}} {{๋์ฒด๋ฌธ์์ด}} --dir {{๊ฒฝ๋ก/๋์/๋๋ ํฐ๋ฆฌ}} --iglob {{'**/*.{js,json}'}}
.js
๋๋ JSON ํ์ผ์์ ์ ํํ ๋ฌธ์์ด ๋ณ๊ฒฝ์ ์ํ:fastmod --fixed-strings {{์์ ํ_๋ฌธ์์ด}} {{๋์ฒด๋ฌธ์์ด}} --extensions {{json,js}}
fastmod --accept-all --fixed-strings {{์์ ํ_๋ฌธ์์ด}} {{๋์ฒด๋ฌธ์์ด}}
fastmod --accept-all --print-changed-files --fixed-strings {{์์ ํ_๋ฌธ์์ด}} {{๋์ฒด๋ฌธ์์ด}}