aboutsummaryrefslogtreecommitdiff
path: root/justfile
diff options
context:
space:
mode:
authorAkshay Nair <phenax5@gmail.com>2026-06-09 16:48:46 +0530
committerAkshay Nair <phenax5@gmail.com>2026-06-09 16:48:46 +0530
commit133dacf4770c4a77c68caa7a994c76bc2f09c08b (patch)
treea0eea396ba33e784ba4ecfedd216bd306c7ee3e3 /justfile
parentafaf82538d09cd77ee4f5a435b79995e88be84f5 (diff)
downloadsqlite-creative-coding-133dacf4770c4a77c68caa7a994c76bc2f09c08b.tar.gz
sqlite-creative-coding-133dacf4770c4a77c68caa7a994c76bc2f09c08b.zip
Add audio generation + mario theme
Diffstat (limited to 'justfile')
-rw-r--r--justfile10
1 files changed, 10 insertions, 0 deletions
diff --git a/justfile b/justfile
index 69420b7..63f5eae 100644
--- a/justfile
+++ b/justfile
@@ -25,6 +25,16 @@ gen-video video_id:
echo "Displaying {{video_id}}" 1>&2
./video.sh "{{video_id}}"
+audio file *args:
+ #!/usr/bin/env sh
+ set -eu
+ audio_id=$(just run "{{file}}" {{args}})
+ just gen-audio "$audio_id"
+
+gen-audio audio_id:
+ echo "Displaying {{audio_id}}" 1>&2
+ ./audio.sh "{{audio_id}}"
+
repl *args:
rlwrap sqlite3 "{{DB}}" {{args}}