refactor: persistent DebugFlag

This commit is contained in:
2024-07-09 15:54:35 +02:00
parent ca37621ce3
commit 2c9e13d3d4
37 changed files with 12 additions and 54 deletions

View File

@ -15,13 +15,10 @@ import (
)
var appConfigCommand = cli.Command{
Name: "config",
Aliases: []string{"cfg"},
Usage: "Edit app config",
ArgsUsage: "<domain>",
Flags: []cli.Flag{
internal.DebugFlag,
},
Name: "config",
Aliases: []string{"cfg"},
Usage: "Edit app config",
ArgsUsage: "<domain>",
Before: internal.SubCommandBefore,
EnableShellCompletion: true,
ShellComplete: autocomplete.AppNameComplete,