chore: alias 'trip' (command name) as 'trippy' (package name)

This commit is contained in:
AJ ONeal
2023-10-28 01:29:47 -06:00
parent 51ccfab586
commit f89ba373a6
3 changed files with 27 additions and 0 deletions

11
trippy/README.md Normal file
View File

@@ -0,0 +1,11 @@
---
title: trippy (trip alias)
homepage: https://webinstall.dev/trip
tagline: |
Alias for https://webinstall.dev/trip
alias: trip
description: |
See https://webinstall.dev/trip
---
Alias for https://webinstall.dev/trip

5
trippy/install.ps1 Normal file
View File

@@ -0,0 +1,5 @@
#!/bin/pwsh
Write-Output "'trippy@$Env:WEBI_TAG' is an alias for 'trip@$Env:WEBI_VERSION'"
IF ($null -eq $Env:WEBI_HOST -or $Env:WEBI_HOST -eq "") { $Env:WEBI_HOST = "https://webinstall.dev" }
curl.exe -fsSL "$Env:WEBI_HOST/trip@$Env:WEBI_VERSION" | powershell

11
trippy/install.sh Normal file
View File

@@ -0,0 +1,11 @@
#!/bin/sh
set -e
set -u
__redirect_alias_trip() {
echo "'trippy@${WEBI_TAG:-stable}' is an alias for 'trip@${WEBI_VERSION-}'"
WEBI_HOST=${WEBI_HOST:-"https://webinstall.dev"}
curl -fsSL "$WEBI_HOST/trip@${WEBI_VERSION-}" | sh
}
__redirect_alias_trip