Skip to content

Commit 8fec066

Browse files
committed
[bin/cargo-get] Add wrapper script around cargo download
1 parent c22018d commit 8fec066

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

bin/cargo-get

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
#!/usr/bin/env bash
2+
3+
set -euo pipefail
4+
5+
mkdir -p ~/tmp/crates
6+
cd ~/tmp/crates
7+
cargo download --extract "${@:2}"

0 commit comments

Comments
 (0)