mirror of
https://codeberg.org/scip/esctl.git
synced 2026-08-24 11:14:17 +02:00
remove workaround to load config in root.Before()
see: https://github.com/urfave/cli/issues/2348
This commit is contained in:
@@ -83,7 +83,7 @@ func ClusterSwitch(conf *cfg.Config) *cli.Command {
|
||||
Aliases: []string{"ctx"},
|
||||
|
||||
ShellComplete: func(ctx context.Context, cmd *cli.Command) {
|
||||
complete(cmd, Ccluster)
|
||||
complete(conf, cmd, Ccluster)
|
||||
},
|
||||
|
||||
Action: func(ctx context.Context, cmd *cli.Command) error {
|
||||
|
||||
Reference in New Issue
Block a user