kiss/contrib/kiss-cargo-urlgen

12 lines
228 B
Plaintext
Raw Normal View History

2020-03-12 08:59:43 -06:00
#!/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