Compare commits

...

2 commits

Author SHA1 Message Date
cc90d09fae fix(logs): switch to STDERR to avoid breaking completion script
Some checks failed
continuous-integration/drone/push Build is failing
continuous-integration/drone/pr Build is failing
2024-08-04 22:42:27 +02:00
c912f480b7 feat: add runtime modes for completion 2024-08-04 22:39:58 +02:00
2 changed files with 6 additions and 2 deletions

View file

@ -22,7 +22,7 @@ struct BaseFormat < Log::StaticFormatter
end
Log.setup do |config|
backend = Log::IOBackend.new(formatter: BaseFormat)
backend = Log::IOBackend.new(io: STDERR, formatter: BaseFormat)
config.bind "*", Log::Severity::Info, backend
if ENV["LOG_LEVEL"]?

View file

@ -4,11 +4,15 @@ module GX::Types
GlobalVersion
GlobalHelp
GlobalCompletion
# GlobalCompletion
GlobalTui
GlobalConfig
GlobalMapping
CompletionBash
CompletionZsh
CompletionAutodetect
ConfigInit
MappingCreate