feat: generate type aliases in loop
This commit is contained in:
parent
afda7a6ec8
commit
53da156897
1 changed files with 9 additions and 2 deletions
|
@ -46,6 +46,13 @@ pub fn init_cqrs(
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
run_loop() {
|
||||||
|
for i in "${@:2}"
|
||||||
|
do
|
||||||
|
run $1 $i
|
||||||
|
done
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
if [ -z $1 ]
|
if [ -z $1 ]
|
||||||
then
|
then
|
||||||
|
@ -54,6 +61,6 @@ elif [ -z $2 ]
|
||||||
then
|
then
|
||||||
help
|
help
|
||||||
else
|
else
|
||||||
run $1 $2 $3 $4 | wl-copy
|
run_loop "$@"
|
||||||
run $1 $2 $3 $4
|
run_loop "$@" | wl-copy
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in a new issue