How to use elisp to create a sqlite specific shell? How to use elisp to create a sqlite specific shell? shell shell

How to use elisp to create a sqlite specific shell?


Here's the code:

(defun sqlite3 (file)  (interactive "fDB file name:\n")  (term-send-string   (ansi-term "bash" "sqlite3")   (format "sqlite3 %s\n" file)))