feat: add gum to list of tools
This commit is contained in:
parent
debdc72835
commit
e0ad00a0ca
2 changed files with 7 additions and 1 deletions
|
@ -40,12 +40,14 @@ eget_tool() {
|
|||
file=$(key=$tool yq e 'explode(.) | .[env(key)].file // ""' $YAMLDOC)
|
||||
to=$(key=$tool yq e 'explode(.) | .[env(key)].to // ""' $YAMLDOC)
|
||||
download_only=$(key=$tool yq e 'explode(.) | .[env(key)].download-only // ""' $YAMLDOC)
|
||||
custom_flags=$(key=$tool yq e 'explode(.) | .[env(key)].custom_flags // ""' $YAMLDOC)
|
||||
|
||||
eget $user/$tool \
|
||||
${asset:+--asset $asset} \
|
||||
${file:+--file $file} \
|
||||
${to:+--to $to} \
|
||||
${download_only:+--download-only} \
|
||||
${custom_flags} \
|
||||
-q
|
||||
|
||||
if [[ $download_only ]]; then
|
||||
|
|
|
@ -26,6 +26,10 @@ just:
|
|||
user: casey
|
||||
zoxide:
|
||||
user: ajeetdsouza
|
||||
gum:
|
||||
user: charmbracelet
|
||||
asset: linux_x86_64.tar.gz
|
||||
custom_flags: "--asset ^.sbom"
|
||||
|
||||
# system monitoring
|
||||
bottom:
|
||||
|
|
Loading…
Reference in a new issue