16 lines
344 B
Bash
Executable File
16 lines
344 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
# Simple script to run easyeda2kicad via Poetry with specified parameters
|
|
# Usage: ./run_easyeda2kicad.sh [LCSC_ID]
|
|
|
|
set -euo pipefail
|
|
|
|
# Require LCSC ID as first argument
|
|
if [[ $# -lt 1 ]]; then
|
|
echo "Usage: $0 <LCSC_ID>"
|
|
exit 1
|
|
fi
|
|
LCSC_ID="$1"
|
|
|
|
poetry run easyeda2kicad --full --lcsc_id="$LCSC_ID" --output cm4-nrf54
|