1
0
mirror of https://codeberg.org/setop/elm-scripting synced 2025-11-08 21:49:57 +00:00

feat: can pass content as flags

This commit is contained in:
2025-10-15 12:19:11 +02:00
parent 6050fb02a3
commit a7b1b206be
10 changed files with 117 additions and 74 deletions

12
TODO.md
View File

@@ -1,8 +1,8 @@
# Major
- find a way to process external data
- [ ] from stdout (use case : json)
- [ ] find a way to process external data
- [x] from stdout (use case : json), use flags
- [ ] from files (use case : SSG)
- [ ] from http (use case : spider)
@@ -19,10 +19,10 @@
# Minor
- [ ] support for Elm debug (`-d`) mode (qjs does not implement `console.warn`, only `console.log`)
- [ ] in debug mode, keep the output
- [ ] in debug mode, keep the output
- [x] allow to specify or guess the main module name
- [x] if `innerHTML` attribute is set, output its value instead of the node tree
- [ ] allow to create standalone (`-s`) HTML document instead of fragment
- [ ] silence elm compiler message when successful
- [x] allow to create standalone (`-s`) HTML document instead of fragment => use template engine instead
- [x] silence elm compiler message when successful
- [ ] skip compilation steps if source has not been modified ; run directly ; this mean keeping the output
- [ ] add proper copyright and license
- [x] add proper copyright and license