Login  Register

LibreCAD Terminal interfacing

Posted by EdwinCarlsson on Dec 22, 2021; 10:17am
URL: https://forum.librecad.org/LibreCAD-Terminal-interfacing-tp5721301.html

Hi!

OS: MacOS Monterey 12.0.1
LibreCAD:
  Version: 2.1.3
  Compiler: Clang 8.0.0
  Compiled on: Sep 22 2016
  Qt Version: 5.6.1
  Boost Version: 1.60.0
  System: OS X 10.16

Suppose I have a test suite which generates a dxf file, and I would like to be able to automatically open this file after said suite is done (to check for any bugs or inconsistencies).

Currently I do
open -a LibreCAD, and subsequently open the file via cmd-o and a mouse double click.

Is it possible to do something like "open -a LibreCAD 'output_files/generated.dxf'"?