aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xKoifile17
1 files changed, 7 insertions, 10 deletions
diff --git a/Koifile b/Koifile
index 366e0b3b..8e5ee78c 100755
--- a/Koifile
+++ b/Koifile
@@ -1,13 +1,10 @@
-if args.len() > 0 {
- let action = args[0]
+fn all() { dev() }
- if action == 'dev' {
- bun run dev --host
- } else if action == 'vpn' {
- piactl disconnect
- piactl connect
- } else {
- bun --bun run {action}
- }
+fn dev() {
+ bun run dev --host
}
+fn vpn() {
+ piactl disconnect
+ piactl connect
+}