{"repo":"cldwalker/bb-clis","free":true,"listed":false,"github":"https://github.com/cldwalker/bb-clis","clone":"git clone https://github.com/cldwalker/bb-clis.git","description":"Babashka CLIs","language":"Clojure","stars":56,"topics":["clojure","cli","babashka"],"license":"MIT","category":"cli-tools","readme_excerpt":"Description An assortment of handy Babashka CLIs: scripts and tasks. scripts strive to be compatible with Clojure. Prerequisites Babashka = 1.13.219 is required. Tasks bb.edn contains global tasks i.e. tasks that are useful in any directory or project. To run these tasks from any directory, clone this repo and then use a shell function to reference the cloned directory: Run bbg tasks to see all the available tasks. bbg can have task-specific completion thanks to the built-in bb completion. Here is my completion for it but note that it has my paths and would need to be updated to point to your path for this repo. Scripts Setup Scripts are located in src/cldwalker/bb clis/bin/ . To install a script as a CLI, install bbin and then use it: To install a different CLI, use different --as and --main-opts . If you're unsure of what to use for those values, see the :bbin/bin key in bb.edn. If you want to install all scripts in this repo: Usage See scripts.md which provides useful examples of several scripts. Development Code is organized as follows: src/cldwalker/bb-clis/tasks/ - Namespaces that are mainly run within babashka tasks src/cldwalker/bb-clis/bin/ - Namespaces that each represent a separate CLI src/cldwalker/bb-clis/cli/ - Namespaces that are useful utils to CLI src/cldwalker/bb-clis/util/ - Namespaces that are useful to any clojure or bb program, not just CLIs. Misc bb tips Preloads Babashka supports $BABASHA PRELOADS which allows arbitrary clojure to be run at the start o","default_branch":null,"files":null,"tree":[],"storefront":"/r/cldwalker","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/cldwalker/bb-clis/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}