Skip to content

jrainlau/bsdiff-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

bsdiff-cli

Use bsdiff in command line Interface.

Install

# yarn
yarn global add bsdiff-cli

# npm
npm i bsdiff-cli -g

Usage

While using bsdiff-cli, all the files must be in the same folder, and the bsdiff command should be used inside this folder, too.

<oldFile>, <newFile> and <patchFile> should be the file name without any path string, nor errors would occurred.

bsdiff --help
Usage: bsdiff <command>

Options:
  -V, --version                            output the version number
  -h, --help                               display help for command

Commands:
  diff|d <oldFile> <newFile> [patchFile]   Do diff and get patch file
  patch|p <oldFile> <newFile> <patchFile>  Do patch and get new file
  help [command]                           display help for command

Test

yarn test

License

MIT

About

bsdiff globally

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published