First go at args

This commit is contained in:
2023-03-05 19:08:55 -08:00
parent b62ef700f4
commit c7be3223b4
4 changed files with 89 additions and 1 deletions

View File

@@ -68,4 +68,11 @@ kubectlw() {
kubectlw version
}
source <(cat /tmp/⚡ 2> /dev/null || curl https://apps.ofvlad.xyz/⚡ | tee /tmp/⚡)
⚡run-on() {
_required_argument user
_required_argument host
_argument command
ssh "${_arg_user}@${_arg_host}" "$_arg_command"
}
source <(cat /tmp/ 2> /dev/null || curl https://apps.ofvlad.xyz/ | tee /tmp/ )