1.0.1 • Published 2 years ago
diff-match-patch-cli v1.0.1
react-native-bundle-diff-match-patch
CLI tool to generate patch, apply patch, valid patch
Install
$ yarn global add diff-match-patch-cli
//or
$ npm install -g diff-match-patch-cli
Usage
generate patch file
$ dmp generate old-bundle-path new-bundle-path -o patch-file-name
apply patch file
$ dmp patch old-file-name patch-file-name
// this will generate a new file with a postfix .patched
$ dmp patch old-file-name patch-file-name -o patched-file-name
$ dmp patch old-file-name patch-file-name -r
// this will replace the old file
check patch file is valid
$ dmp check-valid patch-file-name