#!/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