Archived, now just using slog.
Tiny wrapper to beauty command line application prototypes with a minimal effort.
go get -u github.com/jesusprubio/leg
- Go stable version.
Visit the tests to check more details.
leg.Head("mumu", "๐", "0.1.0")
leg.Info("Informational message", "")
leg.Success("Successful operation", "")
leg.Warn("Warn message", "")
leg.Error("Error message", "")
leg.Wait("Waiting for something", "")
leg.Done("Something finished", "")
leg.Info("Informational message with scope", "scope-0")
fmt.Print("deleted line")
leg.Remove()
leg.Result("To standard output")