mirror of
https://github.com/penpot/penpot.git
synced 2026-06-09 17:02:05 +00:00
14 lines
229 B
Bash
Executable File
14 lines
229 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
set -e;
|
|
|
|
PORT=14180
|
|
while [[ $# -gt 0 ]]; do
|
|
case "$1" in
|
|
--port|-p) PORT="$2"; shift 2 ;;
|
|
*) echo "Unknown option: $1"; exit 1 ;;
|
|
esac
|
|
done
|
|
|
|
pnpm exec opencode attach "http://localhost:${PORT}";
|