Skip to content

Commit

Permalink
printing CLI version if debug is enabled
Browse files Browse the repository at this point in the history
  • Loading branch information
igorlombacx committed Oct 9, 2023
1 parent 4784b05 commit e4288bc
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions cmd/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,9 @@ const (

func main() {
var err error
if strings.Contains(strings.Join(os.Args[1:], ","), "--debug") {
logger.Printf("CLI VERSION: %s", params.Version)
}
bindProxy()
bindKeysToEnvAndDefault()
configuration.LoadConfiguration()
Expand Down

0 comments on commit e4288bc

Please sign in to comment.