You can write Python code to parametrize calls:
python -c "
from mymodule import set_dragon_feeding_schedule, Creatures, Date
set_dragon_feeding_schedule(
feeding_times=['10:00', '14:00', '18:00'],
dishes={Creatures.Tiger: 2, Creatures.Human: 1},
start_day=Date('1020-03-01'),
)
"
instead of:
python -m mymodule \
set_dragon_feeding_schedule \
--feeding-times ['10:00','14:00','18:00'] # hopefully this way it gets recognized \
# how will you define parsing a dict with enum to integer mapping?
--dishes=Creatures.Tiger:2 \
--dishes=Creatures.Human:1 \
--start-day=1020-03-21 # BTW bash allows no comments in multiline calls