gh-gei icon indicating copy to clipboard operation
gh-gei copied to clipboard

Provide a means to suppress log-file generation

Open mario-campos opened this issue 2 years ago • 0 comments

Description

GEI verbosely outputs log files of every command, which is great until you realize it outputs for every command. Even trivial commands like gh gei --help and gh gei --version will generate two log files each.

It would be nice to have a way to tell GEI to not generate those log files. It could be a flag, like --log-level off, or an environment variable, like GEI_LOG_LEVEL=0.

Expected Behaviour

$ gh gei --log-level=off --version
[2023-09-06 08:32:07] [INFO] You are running the latest version of the gei CLI [v1.1.0]
1.1.0

mario-campos avatar Sep 06 '23 13:09 mario-campos