TFWhatsUp.Console 0.11.0

There is a newer prerelease version of this package available.
See the version list below for details.
dotnet tool install --global TFWhatsUp.Console --version 0.11.0                
This package contains a .NET tool you can call from the shell/command line.
dotnet new tool-manifest # if you are setting up this repo
dotnet tool install --local TFWhatsUp.Console --version 0.11.0                
This package contains a .NET tool you can call from the shell/command line.
#tool dotnet:?package=TFWhatsUp.Console&version=0.11.0                
nuke :add-package TFWhatsUp.Console --version 0.11.0                

tf-whatsup

NuGet version Build Process

Highlights Terraform provider release notes you should care about.

ASCII console animation of the tool in action

Usage

USAGE:
    TFWhatsUp.Console.dll [tfFilesPath] [OPTIONS]

ARGUMENTS:
    [tfFilesPath]    Path where your Terraform is located. Defaults to current directory

OPTIONS:
    -h, --help                Prints help information
    -t, --github-api-token    A GitHub Personal Access Token. If you generate one and pass it, you won't hit the smaller rate-limits of un-authenticated accounts
    -a, --all                 Typically we show one provider information at a time. This will show all of them without pause
    -c, --caps                Instead of highlighting text, will show it in all caps with a '***' indicator at the start of a line

The Use Case

I sometimes look at Terraform projects with providers that haven't been updated in a bit, especially because it's a good practice to peg a provider at a specific version. I want to upgrade them incrementally or perhaps in a large chunk, but it's not immediately clear which of the many, lovely, detailed Terraform notes across providers will actually apply to me (this is especially true in projects I'm parachuting into). This tool takes care of a lot of that work and helps me find the signal in the noise.

Current Status

This is usable. I'll probably start putting it out there and seeing what I get. It still needs some tests of course but I'm able to use it in my daily work.

If it seems to work for folks for a while, I'll bump it to v1.0.0.

The Gist

  • Finds Terraform files
  • Uses Octopus.CoreParsers.Hcl to parse the file and pull the provider information
  • Uses HttpClient to hit the Terraform Provider API URL in order to obtain the GitHub URL
  • Uses Octokit to find the release that matches yours
  • Pulls all releases & Filters them to those published after yours (both date-wise and based on Semver thanks to `Semver')
  • Orders the release notes earliest to latest for a given provider
  • Prints the release notes line-by-line, highlighting the ones you might care about.
Product Compatible and additional computed target framework versions.
.NET net7.0 is compatible.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

This package has no dependencies.

Version Downloads Last updated
0.11.1-alpha.0.1.1 79 6/29/2023
0.11.1-alpha.0.1 67 6/23/2023
0.11.0 149 6/6/2023
0.10.1-alpha.0.1.1.3.1 66 6/6/2023
0.10.1-alpha.0.1.1.3 62 6/6/2023
0.10.1-alpha.0.1.1.2 61 6/6/2023
0.10.1-alpha.0.1.1.1 60 6/6/2023
0.10.1-alpha.0.1.1 62 6/6/2023
0.10.1-alpha.0.1 95 11/26/2022
0.10.0 286 11/26/2022
0.9.1-alpha.0.55 79 11/26/2022
0.9.1-alpha.0.53 87 11/26/2022
0.9.1-alpha.0.49 82 11/26/2022
0.9.1-alpha.0.44 90 11/26/2022
0.9.1-alpha.0.42 94 11/26/2022
0.9.1-alpha.0.12.2.1.1.1 94 11/26/2022
0.9.1-alpha.0.12.2.1.1 82 11/25/2022
0.9.1-alpha.0.12.2.1 89 11/25/2022
0.9.1-alpha.0.12.2 86 11/25/2022
0.9.1-alpha.0.12 87 11/25/2022
0.9.1-alpha.0.11 77 11/25/2022
0.9.1-alpha.0.10 84 11/25/2022
0.9.1-alpha.0.9 82 11/25/2022
0.9.1-alpha.0.8 78 11/25/2022
0.9.1-alpha.0.5 82 11/25/2022
0.9.1-alpha.0.4 81 11/25/2022
0.9.1-alpha.0.3 85 11/25/2022
0.9.1-alpha.0.2 92 11/25/2022
0.9.1-alpha.0.1 95 11/24/2022
0.9.0 275 11/24/2022
0.8.1-alpha.0.2 83 11/24/2022
0.8.1-alpha.0.1 89 11/24/2022
0.8.0 305 11/24/2022
0.7.1-alpha.0.2 86 11/24/2022
0.7.1-alpha.0.1 82 11/24/2022
0.7.0 271 11/24/2022
0.6.1-alpha.0.1 87 11/24/2022
0.6.0 275 11/24/2022
0.5.1-alpha.0.3 85 11/24/2022
0.5.1-alpha.0.2 84 11/23/2022
0.5.1-alpha.0.1 84 11/23/2022
0.5.0 295 11/22/2022
0.4.1-alpha.0.1 84 11/22/2022
0.4.0 293 11/22/2022
0.3.1-alpha.0.1 87 11/22/2022
0.3.0 288 11/22/2022
0.2.2-alpha.0.1 91 11/22/2022
0.2.1 308 11/22/2022
0.2.1-alpha.0.1 83 11/22/2022
0.0.0-alpha.0.32 84 11/22/2022
0.0.0-alpha.0.31 190 11/22/2022
0.0.0-alpha.0.30 184 11/21/2022
0.0.0-alpha.0.29 223 11/21/2022
0.0.0-alpha.0.28 220 11/21/2022