Module from console with arguments

You can then simply list all the commands you want to launch at startup, separated by semicolons. If you want to submit many commands or you would like to avoid messing with proper quotation marks and indentation then you can specify a Python script filename to launch at startup.

If you want to interact with the application after it is started (load more data, remove data, etc) then you can use Slicer’s REST API.

There is a Python package - slicerio - that you can pip install very easily into any Python environment that allows you to start Slicer, load data, view data, export data, etc. using a few simple Python function calls. If you find that some features are missing then feel free to add them and submit pull requests.