1.0.1 • Published 1 year ago

diff-match-patch-cli v1.0.1

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

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
1.0.1

1 year ago

1.0.0

1 year ago