You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It seems like if I give the --command flag multiple times, only the last command will be executed. I would expect each --command to be run, in the order it was specified.
I can work around this with --command="cmd1 && cmd2 && cmd3", but it would be nicer to have this as --command=cmd1 --command=cmd2 --command=cmd3 (or else, show an error if --command is given multiple times).
The text was updated successfully, but these errors were encountered:
I think the current behavior is just the default argparse behavior where passing a flag multiple times just overrides the previous times. Allowing it to be passed multiple times sounds good to me.
It seems like if I give the
--command
flag multiple times, only the last command will be executed. I would expect each--command
to be run, in the order it was specified.I can work around this with
--command="cmd1 && cmd2 && cmd3"
, but it would be nicer to have this as--command=cmd1 --command=cmd2 --command=cmd3
(or else, show an error if--command
is given multiple times).The text was updated successfully, but these errors were encountered: