Here are some utility scripts I wrote for myself. At first I wanted to write the scripts in a shell scripting language. But then I discovered Babashka and I love Clojure. I decided to port all the scripts to Clojure instead. You will need Babashka to run these scripts.
A script to create an ultraminimal clj project with an empty deps.edn and a singular hello world main function. To use, simply call ./cljminimal.clj my-minimal-clj-project
and a project called my-minimal-clj-project
will be created for you. Mainly used for quick hacking and throwaway prototyping.
Creates and immediately starts a Taskwarrior task. Use this as you would task add
.
task add +admin +bookkeeping track finance # adds a task to Taskwarrior
./startnewtask.clj +admin +bookkeeping track finance # adds and starts task
Stops all active Taskwarrior tasks. Every tried task stop
and gotten an error? Yeah, me too. Now you can stop all active tasks with a single ./stoptasks.clj
.
You could copy the scripts to /usr/local/bin
or to any other directories that are in your PATH
. It will then be globally accessible.
- 584d3d0 - added create-clj-minimal shell script
- 4b8c492 - added stoptasks shell script
- 41de9d4 - added starttasks shell script
- 8bd623e - ported create-clj-minimal to Clojure. It is now called cljminimal
- 3a57c9a - ported starttasks to Clojure. It is now called startnewtask
- e610b0b - ported stoptasks to Clojure.