vl

#!/usr/bin/env vl

import '../globals.d.ts'

await Promise.all([
  $`sleep 1; echo 1`,
  $`sleep 2; echo ${2}`,
  $`sleep 3; echo 3`,
])

await fetch('https://google.com')

await $`mkdir tests`
await $`touch tests/test.txt`
await $`rm -rf tests`

Prerequisites

  • deno

Install

deno install --allow-read --allow-net --allow-run vl.ts