|
|
|
|
|
by Cykelero
2486 days ago
|
|
Hmm, could you explain your exports idea further? I don't think I'm getting it. The different extensions are a good idea; my current recommendation is to use .lem.js (for compatibility with editors), so that could be changed to .lem.ts easily! I'd love to have proper TypeScript support at some point, too. |
|
#!/usr/local/bin/tasklemon stdlib
where 'stdlib' in a tasklemon config dir has the preamble: So basically each 'feature' of Tasklemon is just a nice DSL for js/ts.And for handing async callbacks, run the contents of the script in an async function so you can await values anywhere rather than have to pass in callbacks.