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 77 6/29/2023
0.11.1-alpha.0.1 66 6/23/2023
0.11.0 147 6/6/2023
0.10.1-alpha.0.1.1.3.1 64 6/6/2023
0.10.1-alpha.0.1.1.3 61 6/6/2023
0.10.1-alpha.0.1.1.2 60 6/6/2023
0.10.1-alpha.0.1.1.1 59 6/6/2023
0.10.1-alpha.0.1.1 61 6/6/2023
0.10.1-alpha.0.1 93 11/26/2022
0.10.0 281 11/26/2022
0.9.1-alpha.0.55 77 11/26/2022
0.9.1-alpha.0.53 86 11/26/2022
0.9.1-alpha.0.49 81 11/26/2022
0.9.1-alpha.0.44 89 11/26/2022
0.9.1-alpha.0.42 93 11/26/2022
0.9.1-alpha.0.12.2.1.1.1 93 11/26/2022
0.9.1-alpha.0.12.2.1.1 80 11/25/2022
0.9.1-alpha.0.12.2.1 88 11/25/2022
0.9.1-alpha.0.12.2 85 11/25/2022
0.9.1-alpha.0.12 84 11/25/2022
0.9.1-alpha.0.11 76 11/25/2022
0.9.1-alpha.0.10 83 11/25/2022
0.9.1-alpha.0.9 81 11/25/2022
0.9.1-alpha.0.8 77 11/25/2022
0.9.1-alpha.0.5 81 11/25/2022
0.9.1-alpha.0.4 80 11/25/2022
0.9.1-alpha.0.3 84 11/25/2022
0.9.1-alpha.0.2 91 11/25/2022
0.9.1-alpha.0.1 94 11/24/2022
0.9.0 273 11/24/2022
0.8.1-alpha.0.2 81 11/24/2022
0.8.1-alpha.0.1 88 11/24/2022
0.8.0 303 11/24/2022
0.7.1-alpha.0.2 84 11/24/2022
0.7.1-alpha.0.1 81 11/24/2022
0.7.0 269 11/24/2022
0.6.1-alpha.0.1 85 11/24/2022
0.6.0 273 11/24/2022
0.5.1-alpha.0.3 83 11/24/2022
0.5.1-alpha.0.2 83 11/23/2022
0.5.1-alpha.0.1 83 11/23/2022
0.5.0 293 11/22/2022
0.4.1-alpha.0.1 82 11/22/2022
0.4.0 291 11/22/2022
0.3.1-alpha.0.1 84 11/22/2022
0.3.0 286 11/22/2022
0.2.2-alpha.0.1 89 11/22/2022
0.2.1 306 11/22/2022
0.2.1-alpha.0.1 82 11/22/2022
0.0.0-alpha.0.32 82 11/22/2022
0.0.0-alpha.0.31 189 11/22/2022
0.0.0-alpha.0.30 183 11/21/2022
0.0.0-alpha.0.29 207 11/21/2022
0.0.0-alpha.0.28 219 11/21/2022