gautamkrishnar / socli

Stack overflow command line client. Search and browse stack overflow without leaving the terminal :computer:
https://pypi.python.org/pypi/socli
BSD 3-Clause "New" or "Revised" License
1.09k stars 217 forks source link

Add bash completion to socli #234

Closed pspiagicw closed 3 years ago

pspiagicw commented 3 years ago

Use https://github.com/kislyuk/argcomplete along with argparse to enable bash-completion.

pspiagicw commented 3 years ago

It would be great if the cli stores the n previous operations where n is a number chosen according to storage and memory. In simple words it could have a history like bash_history

gautamkrishnar commented 3 years ago

Adding the previous history will be adding more complexity to the code. We might need to manage the pickling of the previous results, Invalidating caches, etc. I recommend not to do that right now

We can use some libraries like https://github.com/kislyuk/argcomplete to provide bash shell completion. That would be a good feature to have.

gautamkrishnar commented 3 years ago

@pspiagicw updated the Issue.

chetak123 commented 3 years ago

can i take this issue as part of DWOC please.

gautamkrishnar commented 3 years ago

@chetak123 yes you can make sure that you explain what you are planning to do here first.