]> njoseph.me Git - babashka-scripts.git/blame_incremental - README.md
Add utility to run tasks in the current directory
[babashka-scripts.git] / README.md
... / ...
CommitLineData
1# Babashka Scripts
2
3Miscellaneous [babashka](https://babashka.org "babashka website") scripts written for my own personal use.
4
5## Requirements
6
7babashka (>= 0.4.0)
8
9## Usage
10
11Clone this repository.
12
13``` sh
14git clone https://njoseph.me/gitweb/babashka-scripts.git
15```
16
17The list of available commands can be found by running `bb tasks` in the directory where the file `bb.edn` is present.
18
19``` sh
20The following tasks are available:
21
22gup Do a git pull and rebase branch with master in a given directory.
23gpa Runs `git pull` on all the git repositories in a given directory.
24ebook-to-audiobook A utility to listen to your ebooks using TTS programs. Only tested on macOS with epub files.
25install-deb Install a Debian package given a direct URL to the .deb file.
26install-deb-gh Install a Debian package given a GitHub URL.
27```
28
29Some tasks can also take arguments.
30
31``` sh
32bb ebook-to-audiobook the-great-gatsby.epub
33```
34
35There are a utility file that makes running the tasks easier. Load it up first.
36You can also add the following line with the absolute path to the file in your "~/.profile" file.
37
38``` sh
39source bb-aliases.sh
40```
41
42*Example:* To pull all the repositories in a directory, run
43
44``` sh
45bbe gpa
46```