feat(zsh): add hb-configs function
parent
f6d8dd10aa
commit
06658cf559
|
@ -97,5 +97,16 @@
|
|||
|
||||
echo "done."
|
||||
}
|
||||
|
||||
function hb-configs {
|
||||
curl --silent \
|
||||
--location "https://hawkbit-smartcan.horsch.com/rest/v1/softwaremodules" \
|
||||
--header "Content-Type: application/json" \
|
||||
--header "Authorization: Basic ''$hawkbitToken" \
|
||||
--data "q=type==configfs-smartcan" \
|
||||
--data "sort=id:DESC" \
|
||||
--get \
|
||||
| jq | bat
|
||||
}
|
||||
'';
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue