aerogear / charmil

The framework for building modular plugin based CLI's using Cobra and Golang
https://aerogear.github.io/charmil
Apache License 2.0
116 stars 13 forks source link

feat: check for updates in starter #203

Closed ankithans closed 3 years ago

ankithans commented 3 years ago

Closes #138

Description

confusion in (devel); while doing

if info, ok := debug.ReadBuildInfo(); ok {
    fmt.Println(info.Main.Version) // it prints (devel)
}

Type of change

Checklist

wtrocki commented 3 years ago

Why we are doing this particular problem?

ankithans commented 3 years ago

This is to prompt the user, if any update is available.

eg.

Screenshot 2021-08-05 at 5 02 38 PM
wtrocki commented 3 years ago

I get that - but why this is priority :D

wtrocki commented 3 years ago

Anyway.. let's get that over since it is done and move to more interesting things