You can use the Vivado tools in batch mode by supplying a Tcl script when starting the tool. Use the following command at the Linux command prompt or within a Windows command prompt window:
vivado -mode batch -source <your_Tcl_script>
Note: When working in batch mode, the Vivado tools exit after running the
specified script.