Closed ghost closed 3 years ago
For example, I open mycli on a shell and the cwd is /home/user/sql_script.
It would be nice to have auto completion on the script files in the pwd.
prompt> source "hit tab" and the a list of available scripts in the cwd is popping up a bit like the keywords for SQL.
You'd only harvest the *.sql files on runtime for that folder.
I hope I made sense :)
It should already work with the special command source
source
ah! you are right, I was using it without the ./ , thanks for clarifying that one.
For example, I open mycli on a shell and the cwd is /home/user/sql_script.
It would be nice to have auto completion on the script files in the pwd.
prompt> source "hit tab" and the a list of available scripts in the cwd is popping up a bit like the keywords for SQL.
You'd only harvest the *.sql files on runtime for that folder.
I hope I made sense :)