Codemod is a tool/library to assist you with large-scale codebase refactors that can be partially automated but still require human oversight and occasional intervention. Codemod was developed at Facebook and released as open source.
Is it possible to add an option to ignore binary files automatically rather than exiting?
For example,
codemod --ignore-binary foo bar
Currently, the only way to avoid stopping replacement at binary files is to specify all file extensions known to be text files although it's a kind of tedious. For example, I often do this:
codemod --extension ts,md,js,tsx,jsx,txt,json foo bar
Is it possible to add an option to ignore binary files automatically rather than exiting?
For example,
Currently, the only way to avoid stopping replacement at binary files is to specify all file extensions known to be text files although it's a kind of tedious. For example, I often do this:
This feature might be related to #105.