@yaojie/netswitch
DSH plugin for one-click switching between wired intranet and Wi-Fi on macOS.
Install
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:yaojie-dev/netswitchREADME
Read the full README ↗命令行使用
sudo /usr/local/bin/en8switch 内网 # 切内网
sudo /usr/local/bin/en8switch 外网 # 切外网
sudo /usr/local/bin/en8switch 状态 # 查看状态
sudo /usr/local/bin/en8switch 探路 # 探测 en8 这条线通到哪