i’m looking for any cli framework supports tab key auto-completion feature. I looked at spf13/cobra and docker/docker-machine cli sample but they didn’t have the option for this feature.
for example, if I have 4 commands for App(show/set/start/status), when I type
and then press TAB key, the cli can come back with 4 options
and if I continue type
and then press TAB key, the cli can auto fill in “status” word. Another nice feature is that I can use “App stat” directly with the next sub-command without fully typing/finishing “Status” word.
this kind of behavior is popular for network device cli like Cisco IOS/NX-OS.