function epubmobile --description 'automatically download article to epub workflow' # assuming bookmobile is executable (which you can set with chmod +x bookmobile # change the location of bookmobile and the preferred output folder path to suit your own workflow/system ~/Software/bookmobile/bookmobile $argv --format epub --output ~/Software/bookmobile/epubs/ end