Option -s

-option --nodistract (ou -n) pour exécuter les scripts sans interaction.
-option -s 'script' pour exécuter 1 seul script (i.e -s homebrew, -s node, -s pip...)
This commit is contained in:
2021-12-20 16:00:30 +01:00
parent 97a1005d12
commit b744cd6624
10 changed files with 82 additions and 20 deletions

View File

@@ -4,7 +4,7 @@
# https://github.com/welcoMattic/kymsu
# No distract mode (no user interaction)
[[ $@ =~ "--nodistract" ]] && no_distract=true || no_distract=false
[[ $@ =~ "-nodistract" || $@ =~ "-n" ]] && no_distract=true || no_distract=false
# Upgrade --include-injected
injected=true
@@ -53,7 +53,7 @@ pipx-outdated() {
done < <( pipx list | grep -o 'package.*,' | tr -d ',' | cut -d ' ' -f 2- )
}
# https://github.com/avantrec/soco-cli/blob/master/CHANGELOG.txt
pipx-outdated