Skip to content

Shebang support #27

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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