DEV Community

Discussion on: ✨ Shtab: Provide Autocomplete for your Python App

Collapse
 
waylonwalker profile image
Waylon Walker • Edited

Installation

If you want to try out shtab

pip install shtab

For Click Applications

As I have never actually dug into this I was curious what it would take to get autocomplete on one of my click based applications.

I found the docs have a nice bashcomplete guide that covers all of the shells and worked flawlessly for me.

Collapse
 
shcheklein profile image
Ivan Shcheklein

This looks cool! Thanks for sharing. And looks like it also has an option to generate a "native" SHELL script which means that performance is not impacted. I've seen some similar tools, but there were effectively running python every time you run shell or even every time you press TAB.