asg017 / dataflow

An experimental self-hosted Observable notebook editor, with support for FileAttachments, Secrets, custom standard libraries, and more!

Home Page:https://alexgarcia.xyz/dataflow/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Shebang support

asg017 opened this issue · comments

#!/usr/bin/env -S dataflow run -p 3495 --allow-file-attachments
a = 1

b = 2

c = a + b

similar to deno which is

#!/usr/bin/env -S deno run --allow-net --allow-read
let x = "..."
  • Ignore shebang on:
    • dataflow run file updates
    • dataflow format
    • importing .ojs files
    • compiling
  • Where should the shebang point to?
    • looks like /usr/bin/env -S does magic here