projects
/
git-repl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
22581fa
)
Added the ability to accept an S-expression as an argument.
author
Saba Saba
<saba@sabadev.xyz>
Thu, 9 Feb 2023 17:26:22 +0000
(12:26 -0500)
committer
Saba Saba
<saba@sabadev.xyz>
Thu, 9 Feb 2023 17:26:22 +0000
(12:26 -0500)
git-repl.cl
patch
|
blob
|
history
diff --git
a/git-repl.cl
b/git-repl.cl
index
759c31f
..
8a4bf03
100644
(file)
--- a/
git-repl.cl
+++ b/
git-repl.cl
@@
-233,9
+233,12
@@
(force-output))))
(defun main ()
- (progn
- (help)
- (repl)))
+ (let ((args (cdr *posix-argv*)))
+ (if args
+ (print (eval (read-from-string (str:join " " args))))
+ (progn
+ (help)
+ (repl)))))
(defun-public make (&key (executable-name *installation-file*) (source-file "git-repl.cl"))
"Compiles the current state into an executable"