Commit graph

11 commits

Author SHA1 Message Date
vindarel
49b7f1a7bc scripts: allow scripts with or without a shebang line
We strip the shebang line out, if there is one,
so than the same .lisp file can be called with

ciel -s <name>.lisp

or

./name
2023-03-11 16:40:34 +01:00
vindarel
2c93b1576c scripts: use :flag, not :counter, and fix running files 2023-03-08 16:51:07 +01:00
vindarel
519f432d4f scripting: add --scripts to list all available scripts 2023-01-21 00:01:48 +01:00
vindarel
78dd04d9fd scripting: run scripts in the right working directory (not the script's) 2023-01-21 00:00:26 +01:00
vindarel
6cdf17ccbe (minor) remove short help -h 2022-12-30 00:39:39 +01:00
vindarel
5411f211ec scripting: add and use Clingon 2022-12-29 15:42:10 +01:00
vindarel
ae7410c77f (minor) scripting: a simple shebang works 2022-12-28 15:21:46 +01:00
vindarel
0d95880caa scripting: register and call built-in scripts by name 2022-12-28 15:11:46 +01:00
vindarel
255b90871e scripting: --eval one-liners 2022-12-14 00:47:26 +01:00
vindarel
baf2d2dd51 scripting: enable shebang line 🚀 2022-12-10 00:01:08 +01:00
vindarel
442aa60439 Add scripting support!
Just run

$ ciel myscript.lisp

where you can use all the available libraries.
2022-12-09 15:01:07 +01:00