Well, Godot has the cli from 2016 : https://github.com/godotengine/godot-docs/commits/982ffb6b08...
Here's the tutorial
https://docs.godotengine.org/en/4.4/tutorials/editor/command...
History is cyclical. Because I remember same situations m$ windows released features years after the same feature in GNU/Linux, or Iphon€ vs android.