It seems like this ability is generally useful outside RawCommand, so let's add this to SimpleCommand too.