https://github.com/chamons/tldr-patch
https://github.com/chamons/tldr-patch
Last synced: 6 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/chamons/tldr-patch
- Owner: chamons
- License: mit
- Created: 2021-03-30T17:27:49.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2021-07-19T15:44:10.000Z (over 4 years ago)
- Last Synced: 2025-01-20T14:55:24.696Z (12 months ago)
- Language: Rust
- Size: 9.77 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# tldr-patch
A utility to summarize changes in a PR, ignoring generated files.
## Example
Files modified:
```
tldr-patch.exe https://github.com/Azure/autorest.csharp/pull/1109
eng/Generate.ps1
samples/Azure.AI.DocumentTranslation/Azure.AI.DocumentTranslation.csproj
samples/Azure.AI.DocumentTranslation/readme.md
src/AutoRest.CSharp/AutoRest/Plugins/LowLevelTarget.cs
src/AutoRest.CSharp/Generation/Types/TypeFactory.cs
src/AutoRest.CSharp/Generation/Writers/LowLevelClientWriter.cs
src/AutoRest.CSharp/Generation/Writers/RequestWriterHelpers.cs
src/AutoRest.CSharp/Output/Models/LowLevelRestClient.cs
src/AutoRest.CSharp/Output/Models/RestClientBuilder.cs
src/AutoRest.CSharp/Output/Models/Types/DataPlaneOutputLibrary.cs
src/AutoRest.CSharp/Output/Models/Types/LowLevelOutputLibrary.cs
src/AutoRest.CSharp/Output/Models/Types/MgmtOutputLibrary.cs
src/AutoRest.CSharp/Output/Models/Types/OutputLibrary.cs
src/AutoRest.CSharp/Output/Models/Types/ResourceTypeBuilder.cs
src/AutoRest.CSharp/Properties/launchSettings.json
```
Full Patch:
```
tldr-patch.exe -p https://github.com/Azure/autorest.csharp/pull/1109
--- a/eng/Generate.ps1
+++ b/eng/Generate.ps1
@@ -111,7 +111,8 @@ $projectNames =
'Azure.Storage.Tables',
'Azure.ResourceManager.Sample',
'Azure.Management.Storage',
- 'Azure.Network.Management.Interface'
+ 'Azure.Network.Management.Interface',
+ 'Azure.AI.DocumentTranslation'
...
```
## Arguments
```
tldr-patch.exe --help
tldr-patch 0.1
Chris Hamons
USAGE:
tldr-patch.exe [FLAGS]
ARGS:
PR url to parse e.g. https://github.com/A/B/pull/1
FLAGS:
-h, --help Prints help information
-p, --patch Instead of showing filed edited, show actual diffs
-V, --version Prints version information
```