accept cli args for attic token
Signed-off-by: ahuston-0 <aliceghuston@gmail.com>
This commit is contained in:
parent
ac7806abe6
commit
330abb3b7e
@ -1,8 +1,13 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
cache=""
|
if (( $# != 3 )); then
|
||||||
cache_pattern=""
|
echo "usage: $0 <cache/cache group> <cache pattern> <token type>"
|
||||||
token_type=""
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
|
cache="$1"
|
||||||
|
cache_pattern="$2"
|
||||||
|
token_type="$3"
|
||||||
|
|
||||||
case $token_type in
|
case $token_type in
|
||||||
"cache-creator")
|
"cache-creator")
|
||||||
|
Loading…
x
Reference in New Issue
Block a user