Skip to content

Shebang support #27

@asg017

Description

@asg017
#!/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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions