hofmod-cli
roswell
Our great sponsors
hofmod-cli | roswell | |
---|---|---|
2 | 11 | |
25 | 1,734 | |
- | 1.0% | |
5.5 | 5.4 | |
7 months ago | 9 days ago | |
Go | Common Lisp | |
BSD 3-clause "New" or "Revised" License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
hofmod-cli
-
Bashly – Create beautiful bash scripts from simple YAML configuration
Shameless plug, I wrote https://github.com/hofstadter-io/hof as a generalized tool for what this does, i.e. generate boilerplate from a DSL.
https://github.com/hofstadter-io/hofmod-cli is the same idea for generating Go CLI boilerplate.
hof uses CUE instead of Yaml, can output to any and multiple languages, and uses diff3 so you can work in both the output and the design at the same time.
-
Writing Small CLI Programs in Common Lisp
I try to avoid pip and dependencies for these python scripts. This goal has it's limits.
Click is nice if you want a command with multiple sub commands. I use Go + Cobra at that point via https://github.com/hofstadter-io/hofmod-cli
roswell
-
Babashka: GraalVM Helped Create a Scripting Environment for Clojure
BTW, Roswell makes it easier to run scripts: https://github.com/roswell/roswell/wiki/Roswell-as-a-Scripti...
It is also a tool to install various CL implementations, and to install software.
It doesn't come with a choice of built-in libraries.
- Why Lisp?
-
Project and EDE: A potential way to organize project types?
You could also be a roswell user, in which case your project might have a roswell directory. Again, you can look at the qlot project for reference.
-
Create a Common Lisp Web app using ningle
Clack is a web application environment for Common Lisp inspired by Python's WSGI and Ruby's Rack. Clack provides a script to start a web server. It's useful when you deploy to production environment. You need to install Roswell before as Clack depends on it.
-
Roswell binary *much* slower than SBCL scrip
I also noticed how 'ros build' is really slow and opened a GitHub issue on the roswell repository here: https://github.com/roswell/roswell/issues/477 (at least on my system)
-
Writing Small CLI Programs in Common Lisp
Common Lisp itself has Roswell, which I am disappointed to see is not even mentioned in the article.
-
Examples of "short" (~300 lines or less) or longer sysadmin/devops scripts in Lisp?
w.r.t to image size, ScriptL takes care of that since everything is in the same image. You could also use something like buildapp or cl-launch to make a multi-call binary that you compile your scripts into. I think I recall roswell allowing multiple entry points too, but I never could get it to work. Possibly PEBKAC on my end.
What are some alternatives?
common-lisp-jupyter - A Common Lisp kernel for Jupyter along with a library for building Jupyter kernels.
bashly - Bash command line framework and CLI generator
lisp-xl - Common Lisp Microsoft XLSX (Microsoft Excel) loader for arbitrarily-sized / big-size files
cl-cookbook - The Common Lisp Cookbook
cl-str - Modern, simple and consistent Common Lisp string manipulation library.
abcl - Armed Bear Common Lisp <git+https://github.com/armedbear/abcl/> <--> <svn+https://abcl.org/svn> Bridge
cl-wget - The Non-Interactive Network Downloader: cl-wget is a free software for retrieving files using HTTPS; cl-wget makes mirroring websites easy.
janet-sh - Shorthand shell like functions for janet.
OMGlib - A Common Lisp library to build fully dynamic web interfaces
usocket - Universal socket library for Common Lisp
cligen - Nim library to infer/generate command-line-interfaces / option / argument parsing; Docs at
drakma - HTTP client written in Common Lisp