X-Git-Url: https://njoseph.me/gitweb/babashka-scripts.git/blobdiff_plain/746d64040956017457d38f0bf59649e96d0ab449..ec37ad05d576d79b3dc2d05b2bcae632a93e8c35:/bb.edn diff --git a/bb.edn b/bb.edn new file mode 100644 index 0000000..350ba7e --- /dev/null +++ b/bb.edn @@ -0,0 +1,21 @@ +{:paths ["scripts"] + :tasks + {gup {:requires ([git :refer [git-pull-rebase-branch]]) + :doc "Do a git pull and rebase branch with master in a given directory." + :task (git-pull-rebase-branch (get (into [] *command-line-args*) 0))} + + gpa {:requires ([git :refer [git-pull-all]]) + :doc "Runs `git pull` on all the git repositories in a given directory." + :task (git-pull-all (get (into [] *command-line-args*) 0))} + + ebook-to-audiobook {:requires ([ebooks :refer [convert-ebook-to-audiobook]]) + :doc "A utility to listen to your ebooks using TTS programs. Only tested on macOS with epub files." + :task (convert-ebook-to-audiobook (get (into [] *command-line-args*) 0))} + + install-deb {:requires ([debian :refer [install-deb-from-url]]) + :doc "Install a Debian package given a direct URL to the .deb file." + :task (install-deb-from-url (get (into [] *command-line-args*) 0))} + + install-deb-gh {:requires ([debian :refer [install-deb-from-GitHub]]) + :doc "Install a Debian package given a GitHub URL." + :task (install-deb-from-GitHub (get (into [] *command-line-args*) 0))}}}