]> njoseph.me Git - babashka-scripts.git/blob - bb.edn
git: minor changes
[babashka-scripts.git] / bb.edn
1 {:paths ["scripts"]
2 :tasks
3 {test {:doc "Test whether the 'task' alias is working."
4 :task (println "Yes, it's working!")}
5
6 gup {:requires ([git :refer [git-pull-rebase-branch]])
7 :doc "Do a git pull and rebase branch with master in a given directory."
8 :task (git-pull-rebase-branch (get (into [] *command-line-args*) 0))}
9
10 gpa {:requires ([git :refer [git-pull-all]])
11 :doc "Runs `git pull` on all the git repositories in a given directory."
12 :task (git-pull-all (get (into [] *command-line-args*) 0))}
13
14 ebook-to-audiobook {:requires ([ebooks :refer [convert-ebook-to-audiobook]])
15 :doc "A utility to listen to your ebooks using TTS programs. Only tested on macOS with epub files."
16 :task (convert-ebook-to-audiobook (get (into [] *command-line-args*) 0))}
17
18 install-deb {:requires ([debian :refer [install-deb-from-url]])
19 :doc "Install a Debian package given a direct URL to the .deb file."
20 :task (install-deb-from-url (get (into [] *command-line-args*) 0))}
21
22 install-deb-gh {:requires ([debian :refer [install-deb-from-GitHub]])
23 :doc "Install a Debian package given a GitHub URL."
24 :task (install-deb-from-GitHub (get (into [] *command-line-args*) 0))}}}