remove workaround to load config in root.Before()

see: https://github.com/urfave/cli/issues/2348
This commit is contained in:
2026-07-08 14:07:47 +02:00
parent 8614e09004
commit e4ebc43675
14 changed files with 36 additions and 43 deletions

View File

@@ -71,7 +71,7 @@ func IndexTemplateShow(conf *cfg.Config) *cli.Command {
},
ShellComplete: func(ctx context.Context, cmd *cli.Command) {
complete(cmd, Cindex)
complete(conf, cmd, Cindex)
},
}
}
@@ -215,7 +215,7 @@ func IndexTemplateDelete(conf *cfg.Config) *cli.Command {
},
ShellComplete: func(ctx context.Context, cmd *cli.Command) {
complete(cmd, Cindex)
complete(conf, cmd, Cindex)
},
}
}