diff options
Diffstat (limited to 'dev')
-rwxr-xr-x | dev | 18 |
1 files changed, 18 insertions, 0 deletions
@@ -0,0 +1,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 |