aboutsummaryrefslogtreecommitdiff
path: root/Koifile
blob: b0dcf17ac02f0e9a3a932d259fb6dd081213abf8 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/usr/bin/env koi

if args.len() > 0 {
  let action = args[0]

  if action == 'dev' {
    bun run dev --host
  } else if action == 'vpn' {
    piactl disconnect
    piactl connect
  } else {
    bun --bun run {action}
  }
}