I hereby claim:
- I am matttrach on github.
- I am matttrach (https://keybase.io/matttrach) on keybase.
- I have a public key ASDwFf3smaVnrRbC1J0IBPCHZq2ECvd76zuAluLWkfZc8Ao
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
#!/bin/bash | |
help_output=$(rke2 help server | grep -- '--') | |
json_string="" | |
while IFS= read -r line | |
do | |
name_type=$(echo "$line" | awk -F'(' '{ gsub(/^[ \t]+|[ \t]+$/, "",$1); gsub(/,/, "",$1); gsub(/--/,"",$1); print $1 }') | |
description=$(echo "$line" | awk -F'(' '{ gsub(/^[ \t]+|[ \t]+$/, "", $2); print "("$2 }') |