forked from kiss-community/kiss
12 lines
228 B
Plaintext
12 lines
228 B
Plaintext
|
#!/bin/sh
|
||
|
|
||
|
[ "$1" ] || {
|
||
|
printf 'usage: kiss-carg-urlgen [crate-ver] [crate-ver]\n'
|
||
|
exit 1
|
||
|
}
|
||
|
|
||
|
for crate in "$@"; do
|
||
|
printf 'https://static.crates.io/crates/%s/%s.crate vendor\n' \
|
||
|
"${crate%-*}" "$crate"
|
||
|
done
|