A long time ago we did that but implicitly and we wiped that functionality out.
So, adding --from-file to fn routes create would bring better UX unless you do fn deploy all the time.
At this time let's do that explicitly. If --from-file is there, use func.yml, if that is not - use the rest of args, if both mentioned - conflit, abort.
A long time ago we did that but implicitly and we wiped that functionality out.
So, adding
--from-filetofn routes createwould bring better UX unless you dofn deployall the time.At this time let's do that explicitly. If
--from-fileis there, usefunc.yml, if that is not - use the rest of args, if both mentioned - conflit, abort.