Commit graph

17 commits

Author SHA1 Message Date
vindarel
937bfe6b83 fix requirement on unreleased fof feature 2023-05-11 12:56:06 +02:00
vindarel
dc2c40d4fd scripts: add finder.lisp 2023-05-02 20:04:41 +02:00
vindarel
b65572e3b9 add file-notify, add webapp script
[ci skip]
2023-04-24 16:39:07 +02:00
vindarel
ad63aae024 scripting: we can parse the script options with Clingon 2023-04-20 16:45:26 +02:00
vindarel
a92914cfd0 scripting: Clingon trick to pass unknown options to the script without "--"
a caveat: it does not catch legitimate unknown options given before
the script name,
and it catches known options given after it, though we would like not
to.

$ ./script.lisp -v

-v is caught for CIEL.

$ ./script.lisp -- -v

-v is passed to script.

$ ciel -x -s script

-x is not caught as unknown for CIEL but passed along to script.

$ ciel -v -x -s script

the -v at first position allows to see that -x is passed along.

$ ./script.lisp -x 4242

for other cases, we don't need a "--" and that's pretty cool.

Damn, was it worth spending a day on it?
2023-04-19 15:23:43 +02:00
vindarel
5537394226 scripting: isolate a main function with #+ciel 2023-04-18 09:26:19 +02:00
vindarel
96d1de48a9 scripts: use json-pointer/synonyms for even shorter function names 2023-03-14 12:24:11 +01:00
vindarel
0feaee281b scripts: no error handling in apipointer, it's done when running the script 2023-03-11 19:17:59 +01:00
vindarel
69dd197eb9 scripting: new (toy) script: API Pointer 2023-03-11 16:40:34 +01:00
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
ef9ef8d72e CI: we want the latest cl-str 2023-03-11 15:25:12 +01:00
vindarel
2c93b1576c scripts: use :flag, not :counter, and fix running files 2023-03-08 16:51:07 +01:00
vindarel
095544beab script simpleHTTPserver: list and serve files 2023-01-21 00:00:29 +01:00
vindarel
cd1e0b7bb6 script simpleHTTPserver: catch "port in use" error 2023-01-21 00:00:29 +01:00
vindarel
0d95880caa scripting: register and call built-in scripts by name 2022-12-28 15:11:46 +01:00
vindarel
3c371c9a81 scripts: add quicksearch.lisp
[ci skip]
2022-12-14 19:44:35 +01:00
vindarel
d3a896e79f scripting: add simple HTTP server with Hunchentoot 2022-12-14 12:06:58 +01:00