AutoYADM commit: 2025-04-29 14:30:05
This commit is contained in:
parent
07ec1a0782
commit
cafca068f9
1 changed files with 11 additions and 1 deletions
|
@ -1,7 +1,17 @@
|
|||
function update --description "Update everything"
|
||||
# autoconfirm
|
||||
# or force no multiterm
|
||||
argparse y/no-confirm o/one-term -- $argv
|
||||
argparse h/help y/no-confirm o/one-term -- $argv
|
||||
if set -ql _flag_h
|
||||
printf '%s\n' \
|
||||
'update -- update everything' \
|
||||
'Usage: run `update` to begin' \
|
||||
'Options:' \
|
||||
'-y/--no-confirm: Skip update confirmations' \
|
||||
'-o/--one-term: Force single terminal mode' \
|
||||
'-h/--help: Print this screen'
|
||||
return 0
|
||||
end
|
||||
# TODO: add configuration options and publish?
|
||||
set -g termcmd foot fish -c
|
||||
set -l std 'cargo install-update -a
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue