One can use the command-line launching facility is when one wants to customize some aspects of the way MySQL Workbench operates.
MySQL Workbench has the following common command line options:
--admin instance - Launch MySQL Workbench and load the server instance specified. --query connection - Launch MySQL Workbench and load the connection specified. --model modelfile - Launch MySQL Workbench and load the model specified. --script script - Launch MySQL Workbench and run the script specified. --run code - Launch MySQL Workbench and run the code snippet specified. --quit-when-done - quits MySQL Workbench after --script or --run finishes.
if you want to reproduce, please indicate the source:
Getting started with mysql-workbench – Common command-line arguments for MySQL Workbench - CodeDay