norwegianblue icon indicating copy to clipboard operation
norwegianblue copied to clipboard

Autocomplete after the eol command

Open romainx opened this issue 7 months ago • 13 comments

Hello,

This is a draft to resolve #125. As the project is using argparse, I thought it was a good idea to use argcomplete. This implementation is very simple but it seems to do the trick.

# register eol with the shell's completion framework by running register-python-argcomplete:
eval "$(register-python-argcomplete eol)"
# use it
eol ne
nextcloud  nextjs  netbsd  nexus  neo4j  neos  --    

Cheers 🍰

romainx avatar Jul 26 '24 06:07 romainx