Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/spouliot/appcompare
Compare two application bundles / directories
https://github.com/spouliot/appcompare
appbundle comparer csharp-code dotnet
Last synced: 6 days ago
JSON representation
Compare two application bundles / directories
- Host: GitHub
- URL: https://github.com/spouliot/appcompare
- Owner: spouliot
- License: mit
- Created: 2022-02-07T19:35:14.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2023-09-11T13:59:53.000Z (about 1 year ago)
- Last Synced: 2024-08-10T19:03:04.320Z (3 months ago)
- Topics: appbundle, comparer, csharp-code, dotnet
- Language: C#
- Homepage:
- Size: 81.1 KB
- Stars: 1
- Watchers: 3
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: ChangeLog.md
- License: LICENSE
Awesome Lists containing this project
README
Compare two application bundles.
In it's most basic form, the tool will compare the contents of two
directories (it does not have to be application bundles). This is
similar to my original [app-compare](https://github.com/spouliot/dotnet-tools/tree/master/app-compare)
tool.The goal of this complete rewrite is to build/integrate more tools that
will help you to understand the differences between the two bundles.
E.g. why has my app grown so much ?## How to install
Release packages are available from nuget. They can be installed from the
command-line.```bash
$ dotnet tool install --global appcompare
```To update or to re-install the latest version execute:
```bash
$ dotnet tool update --global appcompare
```## How to use
You can use the tool from the command line and use it to automate (CI/CD)
the process of comparing your current application bundle with the previous
(e.g. release) one.A text-user interface is also available to allow you to dig further into
the differences between the two bundles.### With the Command Line
```bash
$ appcompare path/to/bundle/1 path/to/bundle/2 -output-markdown report.md
```You can also use the `--gist` option to generate a [gist](https://github.com/spouliot/SimpleGist/wiki)
from the output. The url of the gist will be printed to stdout.```bash
$ appcompare path/to/bundle/1 path/to/bundle/2 --gist
```### With the Text User Interface
Start the tool from the command line
```bash
$ appcompare
```* Press `F1` to select the first application bundle.
* Press `F2` to select the second application bundle.
* Press `CTRL+G` to create a gist of the comparison.Voila! Now you can play around to find out what's different between
the two bundles.### Advanced Usage
The [wiki](https://github.com/spouliot/appcompare/wiki) covers ways to
use the tool beyond the basic size comparison of markdown reports.## When to use
Ideally you keep copies of every released version of your application.
Every time you release a new version, you should compare the previous
version with the new one. This way you can see what and where are the
changes inside your application and how this affected the build size.## Dependencies
Built on top of
* [CliWrap](https://github.com/Tyrrrz/CliWrap)
* [Spectre.Console](https://spectreconsole.net)
* [Terminal.Gui](https://github.com/migueldeicaza/gui.cs)Released with
* [dotnet-releaser](https://github.com/xoofx/dotnet-releaser)