#!/bin/bash RUN="docker-compose run --rm" # UP="docker-compose up" name=$(basename $0) command=$1 args=${@:2} case $command in sh) $RUN mermaid sh $args ;; install) $RUN mermaid sh -c "npx pnpm install" ;; test) $RUN mermaid sh -c "npx pnpm test" ;; e2e) $RUN mermaid sh -c "npx pnpm e2e" ;; lint) $RUN mermaid sh -c "npx pnpm -w run lint:fix" ;; dev) $RUN --service-ports mermaid sh -c "npx pnpm run dev" # $UP --rm mermaid sh -c "npx pnpm run dev" ;; help) usage=$( cat <