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)
|
file=$(key=$tool yq e 'explode(.) | .[env(key)].file // ""' $YAMLDOC)
|
||||||
to=$(key=$tool yq e 'explode(.) | .[env(key)].to // ""' $YAMLDOC)
|
to=$(key=$tool yq e 'explode(.) | .[env(key)].to // ""' $YAMLDOC)
|
||||||
download_only=$(key=$tool yq e 'explode(.) | .[env(key)].download-only // ""' $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 \
|
eget $user/$tool \
|
||||||
${asset:+--asset $asset} \
|
${asset:+--asset $asset} \
|
||||||
${file:+--file $file} \
|
${file:+--file $file} \
|
||||||
${to:+--to $to} \
|
${to:+--to $to} \
|
||||||
${download_only:+--download-only} \
|
${download_only:+--download-only} \
|
||||||
|
${custom_flags} \
|
||||||
-q
|
-q
|
||||||
|
|
||||||
if [[ $download_only ]]; then
|
if [[ $download_only ]]; then
|
||||||
|
|
|
@ -26,6 +26,10 @@ just:
|
||||||
user: casey
|
user: casey
|
||||||
zoxide:
|
zoxide:
|
||||||
user: ajeetdsouza
|
user: ajeetdsouza
|
||||||
|
gum:
|
||||||
|
user: charmbracelet
|
||||||
|
asset: linux_x86_64.tar.gz
|
||||||
|
custom_flags: "--asset ^.sbom"
|
||||||
|
|
||||||
# system monitoring
|
# system monitoring
|
||||||
bottom:
|
bottom:
|
||||||
|
|
Loading…
Reference in a new issue