I find myself pressing
C-c C-e l o yes RET quite often in org-mode because I want to view the file I'm working on as a PDF.
My simplistic attempts of automating this by feeding "lo" to
org-export-dispatch were foiled by this interactive function not accepting any arguments as a quick look at its source code revealed.
How can this be automated so I can assign a shorter key binding to it?