[scripts][main_cli] Only modify the logger format when showing debug messages

Fixes #40
6 jobs for fix_click_commands in 34 minutes and 59 seconds (queued for 3 seconds)
Status Name Job ID Coverage
  Build
passed build_linux_27 #142333
docker

00:07:15

56.0%
passed build_linux_36 #142334
docker

00:07:28

56.0%
passed build_macosx_27 #142335
macosx

00:06:38

56.0%
passed build_macosx_36 #142336
macosx

00:06:23

56.0%
 
  Docker
passed docker_linux_27 #142337
docker-build

00:22:35

58.0%
passed docker_linux_36 #142338
docker-build

00:22:40

58.0%