#!/bin/bash RUN="docker-compose run --rm" 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" ;; lint) $RUN mermaid sh -c "npx pnpm -w run lint:fix" ;; help) cat <