main
Colby Knox
Publish 1.1.0
7bc6a96
#!/usr/bin/env sh
# kicad-to-molecule is now board-to-molecule (KiCad, Fusion/EAGLE, and Altium).
# This shim keeps old scripts working: `kicad-to-molecule <board>` and
# `kicad-to-molecule convert|plan <board>` map onto the new CLI.
B2M="$(dirname "$0")/board-to-molecule"
[ -x "$B2M" ] || B2M=board-to-molecule
case "$1" in
convert|plan) exec "$B2M" "$@" ;;
version|--version) exec "$B2M" --version ;;
*) exec "$B2M" convert "$@" ;;
esac