generated from Templates/Baseline
add disablemotd as param
All checks were successful
ci/woodpecker/pr/test Pipeline was successful
ci/woodpecker/pr/master Pipeline was successful
ci/woodpecker/push/test Pipeline was successful
ci/woodpecker/push/next Pipeline was successful
ci/woodpecker/push/master Pipeline was successful
ci/woodpecker/pr/next Pipeline was successful
All checks were successful
ci/woodpecker/pr/test Pipeline was successful
ci/woodpecker/pr/master Pipeline was successful
ci/woodpecker/push/test Pipeline was successful
ci/woodpecker/push/next Pipeline was successful
ci/woodpecker/push/master Pipeline was successful
ci/woodpecker/pr/next Pipeline was successful
This commit is contained in:
parent
f4750a8ae7
commit
296e2c3dd3
|
@ -14,7 +14,7 @@ function showHelp() {
|
|||
nodejs Installs latest NodeJs LTS version.
|
||||
powershell Installs latest PowerShell LTS version.
|
||||
-h Prints this help messagee.
|
||||
disableMotd Disables hint in new bash terminal
|
||||
disablemotd Disables hint in new bash terminal
|
||||
Example 1: install-devruntime dotnet
|
||||
Example 2: install devruntime golang nodejs
|
||||
HELP
|
||||
|
@ -130,6 +130,9 @@ function main() {
|
|||
instNodeJs
|
||||
elif [[ "$i" == "powershell" ]]; then
|
||||
instPwsh
|
||||
elif [[ "$i" == "disablemotd" ]]; then
|
||||
disableMotd
|
||||
exit 0
|
||||
else
|
||||
sayE "Unknown parameter value given!($i)."
|
||||
showHelp
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
#!/bin/bash
|
||||
|
||||
complete -W "dotnet golang nodejs powershell -h" install-devruntime
|
||||
complete -W "disablemotd dotnet golang nodejs powershell -h" install-devruntime
|
||||
|
|
Loading…
Reference in New Issue
Block a user