m2 icon indicating copy to clipboard operation
m2 copied to clipboard

Bash Completion in CLI

Open chemistry-sourabh opened this issue 8 years ago • 3 comments

bmi's cli doesnt have any form of bash completion, it will be useful for typing image names, etc.

chemistry-sourabh avatar Mar 02 '17 16:03 chemistry-sourabh

Is it really easy to implement bash completion? AFAIK, click does not support bash completion, which is why we wanted to use argparse for HIL's CLI (which is still under review). So I think the easy label might be undermining this issue lol.

naved001 avatar Mar 02 '17 21:03 naved001

http://click.pocoo.org/4/bashcomplete/

chemistry-sourabh avatar Mar 03 '17 01:03 chemistry-sourabh

That's great, didn't know that click supports all the good stuff! Thanks for letting me know

naved001 avatar Mar 03 '17 14:03 naved001