feat: Add --list-csv to new run script

This commit is contained in:
zen0bit 2024-04-21 00:08:39 +02:00 committed by Martin Wimpress
parent a785c3a7b1
commit 4099961577
1 changed files with 5 additions and 3 deletions

View File

@ -3548,13 +3548,15 @@ case "${1}" in
just="test" just="test"
shift shift
;; ;;
#TODO: Argument list should be DEPRECATED!
'--list-csv'|'-lc'|'list')
list_csv
;;
esac esac
if [ -n "${1}" ]; then if [ -n "${1}" ]; then
OS="${1,,}" OS="${1,,}"
if [ "${OS}" == "list" ] || [ "${OS}" == "list_csv" ]; then if [ "${OS}" == "list_json" ]; then
list_csv
elif [ "${OS}" == "list_json" ]; then
list_json list_json
fi fi
else else