zenhob / hcl

Command-line tool for manipulating Harvest timesheets
http://zenhob.github.io/hcl
MIT License
223 stars 45 forks source link

Adding Extensive Bas Tab Completion #69

Closed onshorechet closed 7 years ago

onshorechet commented 8 years ago

Tab completion will now use the calling script to generate suggestions. Because of this those suggestions will work with the alias scheme described in the README file.

These completion functions will also suggest the commands hcl allows.

When the alias command is in use it will complete the project ids and task ids with descriptions.

The other commands that use aliases will complete them as before however they used the calling script to get the list of aliases. That way the any bash alises using env's will be called and preserve the configuration. This will allow the user to only add one line to their bashrc/profile w/e and not a line for each bash alias the user may need.

zenhob commented 8 years ago

This is much better than the existing solution, thank you. I'll review this soon.

zenhob commented 7 years ago

lol "soon"

sorry and thanks again!