Closed tobigiwa closed 5 months ago
runtime shell completion for stack names can be provided using the cobra option ValidArgsFunction.
ValidArgsFunction
var infoCmd = &cobra.Command{ Use: "info <stack_name>", Short: "Get info about a stack", ValidArgsFunction: listStacks, ...
runtime shell completion for stack names can be provided using the cobra option
ValidArgsFunction
.