Move command sorting setting into cli/cmd

This commit is contained in:
katexochen 2022-06-07 11:13:34 +02:00 committed by Paul Meyer
parent 67b25d2771
commit 4912ab0195
2 changed files with 1 additions and 2 deletions

View file

@ -12,6 +12,7 @@ import (
// Execute starts the CLI.
func Execute() error {
cobra.EnableCommandSorting = false
rootCmd := NewRootCmd()
ctx, cancel := signalContext(context.Background(), os.Interrupt)
defer cancel()