aboutsummaryrefslogtreecommitdiff
path: root/dev
blob: 716b3afa2a2357d38cdd93c36ddcff6236e9081e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/usr/bin/env bash
cd "$(dirname $0)"
CMD="$1"

if [ "$CMD" = "start" ]; then

  nix-shell --command "tmuxinator local"

elif [ "$CMD" = "stop" ]; then

  nix-shell --command "tmux kill-session -t visorando-scraper"

else

  echo "Usage: $0 start|stop"
  exit 1

fi