generated from Templates/Baseline
add gitea changelog helper in arkanum
This commit is contained in:
parent
66ce973182
commit
6b33435ec1
12
arkanum
12
arkanum
|
@ -123,7 +123,15 @@ function instPwsh() {
|
|||
# Install PowerShell
|
||||
sudo apt-get install --no-install-recommends -y powershell
|
||||
|
||||
echo "done." "PowerShell"
|
||||
say "done." "PowerShell"
|
||||
}
|
||||
|
||||
function instGiteaTools() {
|
||||
say "Installing Gitea tools..." "Gitea"
|
||||
sudo curl -sSl https://dl.gitea.io/changelog-tool/main/changelog-main-linux-amd64 -o /usr/bin/changelog
|
||||
sudo chmod +x /usr/bin/changelog
|
||||
say "'changelog' command installed." "Gitea"
|
||||
say "done." "Gitea"
|
||||
}
|
||||
|
||||
function setCodeSettings() {
|
||||
|
@ -163,6 +171,8 @@ function main() {
|
|||
instNodeJs
|
||||
elif [[ "$i" == "powershell" ]]; then
|
||||
instPwsh
|
||||
elif [[ "$i" == "gitea" ]]; then
|
||||
instGiteaTools
|
||||
elif [[ "$i" == "--disable-motd" ]]; then
|
||||
disableMotd
|
||||
exit 0
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
#!/bin/bash
|
||||
|
||||
complete -W "--disable-motd --reset-codesetting dotnet golang nodejs powershell -h" arkanum
|
||||
complete -W "--disable-motd --reset-codesetting dotnet gitea golang nodejs powershell -h" arkanum
|
||||
|
|
Loading…
Reference in New Issue