add archiver as alias for arc

This commit is contained in:
AJ ONeal
2020-09-23 02:20:54 +00:00
parent d4de3b49ef
commit fc71c84ec9
2 changed files with 15 additions and 0 deletions
+5
View File
@@ -0,0 +1,5 @@
#!/bin/pwsh
echo "'archiver@$Env:WEBI_TAG' is an alias for 'arc@$Env:WEBI_VERSION'"
IF ($Env:WEBI_HOST -eq $null -or $Env:WEBI_HOST -eq "") { $Env:WEBI_HOST = "https://webinstall.dev" }
curl.exe -fsSL "$Env:WEBI_HOST/arc@$Env:WEBI_VERSION" | powershell
+10
View File
@@ -0,0 +1,10 @@
# title: Archiver (arc alias)
# homepage: https://webinstall.dev/arc
# tagline: Alias for https://webinstall.dev/arc
# alias: arc
# description: |
# See https://webinstall.dev/arc
echo "'archiver@${WEBI_TAG:-stable}' is an alias for 'arc@${WEBI_VERSION:-}'"
WEBI_HOST=${WEBI_HOST:-"https://webinstall.dev"}
curl -fsSL "$WEBI_HOST/arc@${WEBI_VERSION:-}" | bash