* Add new dependencies for terminal handling and color management. * Include updates for tcell, go-colorful, tview, and uniseg. * Update golang.org/x/sys and golang.org/x/term for improved compatibility. * Ensure all dependencies are explicitly listed with their versions.
20 lines
421 B
Bash
20 lines
421 B
Bash
#!/bin/bash
|
|
while read line
|
|
do
|
|
case "$line" in
|
|
*'|'*)
|
|
alias=${line#*|}
|
|
line=${line%|*}
|
|
;;
|
|
*)
|
|
alias=${line%%,*}
|
|
;;
|
|
esac
|
|
|
|
alias=${alias//-/_}
|
|
direc=${alias:0:1}
|
|
|
|
mkdir -p ${direc}/${alias}
|
|
go run mkinfo.go -P ${alias} -go ${direc}/${alias}/term.go ${line//,/ }
|
|
done < models.txt
|