Created as a follow-up from #364
Right now, kcctl help re<TAB> automatically fills in the line with kcctl help res, and kcctl help res<TAB> shows two completion options: kcctl help restart and kcctl help resume. This is exactly how we want autocomplete to work for the help command.
However, once you select a subcommand, autocomplete stops being useful for subsequent nested subcommands. Typing kcctl help restart <TAB> should show two completion options: kcctl help restart connector and kcctl help restart task. Instead, the top-level subcommands (apply, config, delete, describe, etc.) are shown.
It'd be nice if we could get autocomplete working for nested subcommands as well. This will likely require an upstream contribution to picocli and/or some dirty hacks on our part.
Created as a follow-up from #364
Right now,
kcctl help re<TAB>automatically fills in the line withkcctl help res, andkcctl help res<TAB>shows two completion options:kcctl help restartandkcctl help resume. This is exactly how we want autocomplete to work for thehelpcommand.However, once you select a subcommand, autocomplete stops being useful for subsequent nested subcommands. Typing
kcctl help restart <TAB>should show two completion options:kcctl help restart connectorandkcctl help restart task. Instead, the top-level subcommands (apply,config,delete,describe, etc.) are shown.It'd be nice if we could get autocomplete working for nested subcommands as well. This will likely require an upstream contribution to picocli and/or some dirty hacks on our part.