A command line tool to diff between various changesets using advanced algorithms. Works with npm as well as Docker.
- Node.js (for npm usage)
- Docker (for Docker usage)
- Install the package from npm:
npm install gpt-diff-cli -g
- Use the command line tool:
gpt-diff-cli arg1 arg2
- Clone the repository:
git clone https://github.com/kmfb/gpt-diff-cli.git
- Navigate to the repository:
cd gpt-diff-cli
- Install the necessary packages:
npm install
- Run the application:
node ./src/index.mjs arg1 arg2
- Build the Docker image:
docker build -t stardusted/gpt-diff-cli .
- Use the Docker container:
docker run -v /path/to/your/directory:/toBeDiffed stardusted/gpt-diff-cli <commit_id1> <commit_id2>
Replace /path/to/your/directory
with the actual path to your repository or the directory you want to use with the CLI. Replace <commit_id1>
and <commit_id2>
with the actual commit IDs you want to diff.
docker run -v /Users/tian/repos/gpt-diff-cli:/toBeDiffed stardusted/gpt-diff-cli a309fc20cf85e4273fd9777df72e683ab3d13b32 6a365a532b7b6c04e86834ae21104eac677712f1
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.