Puts the value of the flag into variable (true if exists, false otherwise).
Warning
⚠️ FLAGS do NOT mix well with named arguments (—name-arg name-arg-val) as ⚠️ flags right now WILL count the named argument as a flag and will end up ⚠️ shifting the named argument out.
Example usage:
args.throw.if_unknown_flags "--flag1 --flag2" "${@}"
local should_1 should_2 shift_count
args.put__named_flag_value "--flag1" should_1 "${@}"
args.put__named_flag_value "--flag2" should_2 "${@}"
args.put__named_flags_count shift_count "${@}"
shift "${shift_count:?}"