After some time and a lot of error warnings, I start to get myself confident. This transition from GUI to CLI was heavily facilitated by @gretl_stats. It has a logging mechanism that records every click on the GUI and translates into code.