1
0
mirror of https://codeberg.org/kiss-community/kiss synced 2024-11-20 05:20:08 -07:00
kiss/contrib/kiss-cargo-urlgen
2020-03-12 16:59:43 +02:00

12 lines
228 B
Bash
Executable File

#!/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