Fixed lint issues and missing documentation

This commit is contained in:
bwilliams committed 2026-10-13 12:21:32 +01:00
1 parent 7fd321df97
commit 6e6dec68c0
34 files changed
+346 -156

No files matched your search

+3
View File
@@ -7,6 +7,9 @@ import (
"github.com/spf13/cobra"
)
// SetupInitialLogging starts logging to the terminal, at the level set by
// cmd's --quiet and --debug flags (--debug wins), before any configuration
// is loaded.
func SetupInitialLogging(cmd *cobra.Command) {
// Start logging to terminal first - any commands that want to use file
// logging should activate it themselves