accept cli args for attic token

Signed-off-by: ahuston-0 <aliceghuston@gmail.com>
This commit is contained in:
ahuston-0 2025-01-25 22:37:10 -05:00
parent ac7806abe6
commit 330abb3b7e
No known key found for this signature in database
GPG Key ID: 47940175096C1330

View File

@ -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")