cmd
Utility for running external programs (by ruricolist)
clesh
CLESH a very short and simple program, written in Common Lisp, that extends Common Lisp to embed shell code in a manner similar to perl's backtick. (by Neronus)
Our great sponsors
cmd | clesh | |
---|---|---|
10 | 3 | |
62 | 64 | |
- | - | |
2.3 | 0.0 | |
11 months ago | over 3 years ago | |
Common Lisp | Common Lisp | |
MIT License | GNU General Public License v3.0 or later |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
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.
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.
cmd
Posts with mentions or reviews of cmd.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-05-25.
- Getting started with lisp
-
writing scripts in lisp
In CL, there is also https://github.com/ruricolist/cmd on top of uiop:run-program / launch-program to quickly run commands.
-
Running docker commands from Common Lisp REPLs
+1. To write quick shell commands, see also cmd: https://github.com/ruricolist/cmd
-
Portable Lisp Dialects with Solid UNIX and Systems Programming Support?
A nice library that makes running shell programs even easier than uiop:run-program: https://github.com/ruricolist/cmd
-
How to run external commands?
uiop:run/launch-program (sync/async): https://lispcookbook.github.io/cl-cookbook/os.html#running-external-programs and the handy cmd which builds on it: https://github.com/ruricolist/cmd
-
[Common Lisp] Best Libraries for Interfacing with UNIX-like Operating Systems?
Some ideas/reminders/pointers: do not miss uiop:run-process and launch-process to run (a)sync programs; see cmd for an easier to use equivalent; see file-object-finder for a high-level lib around files (it handles file permissions). clawk replaces AWK.
-
Guides on Learning to Use Lisp Instead of Shell Script?
To operate on files and directories, see UIOP and this new library: https://github.com/Ambrevar/fof (File Object Finder). You could start using the Lem editor and Lisp REPL, the Nyxt browser, this basic file manager (https://github.com/szos/CLFM), cmd to fire external commands (https://github.com/ruricolist/cmd).
-
A Lisp REPL as my main shell
There is https://github.com/ruricolist/cmd in particular which is very helpful.
I'm going to publish a few more libraries which should help with file manipulation (as I demoed it).
Stay tuned!
-
ruricolist/cmd - utility for running external programs.
As for cmd, I just cloned it into local-projects, so it's the development version. This seems to be the line where exo is called and I don't think it's defined anywhere: https://github.com/ruricolist/cmd/blob/master/cmd.lisp#L374
clesh
Posts with mentions or reviews of clesh.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-05-25.
- Getting started with lisp
-
Improving REPL experience in terminal?
Now, it's only personal, but I like to fire one-off shell commands… can we escape the Lisp REPL or not? If not, we could use a shell pass-through, for example "! ls" with clesh. Ruricolist's cmd is nice to have too. This is becoming an heresy, but what if we could fire a shell command and interpret its result with a Lisp function, or mix and match the two? Lish is doing an awesome work already, although it's a difficult field. Interactive commands like sudo and htop work there, at least. It ships a Lisp REPL and a debugger for the terminal too (similar to Roswell, then).
-
[Common Lisp] Best Libraries for Interfacing with UNIX-like Operating Systems?
Clesh - extends Common Lisp to embed shell code in a manner similar to perl's backtick. (I read awesome-cl) It could ease the process to include external calls.
What are some alternatives?
When comparing cmd and clesh you can also consider the following projects:
CLFM - Common Lisp File Manager
lish - Lisp Shell
scsh - A Unix shell embedded in scheme
RLWRAP-SBCL-LISP-COMPLETIONS - How to enable TAB completions of common lisp commands using SBCL
linedit - Readline-style line-editor for Common Lisp.
fof - File object finder Common Lisp library
xonsh - :shell: Python-powered, cross-platform, Unix-gazing shell.
magic-ed - Editing facility for Common Lisp REPL
colisper - Check and transform Lisp code with Comby (beta)
pipeline
repl-utilities - Ease common tasks at the REPL.