Skip to content

Command Line Interface for qim3d

s184364 requested to merge Qim3d_CLI into main

Instead of running:
python qim3d/gui/annotation_tool.py
qim3d can now also be used as a tool in the command line to run different parts of qim3d without calling the specific python file:
qim3d gui --annotation-tool

The tool can be used because of the 'console_script' in setup.py, as well as the parsers in utils/cli.py.
In order to get more information, one can use qim3d --help or qim3d gui --help to see the list of possible arguments.

Finally, the --host argument is made available to specify where the app should run. by default the value is "0.0.0.0".

Merge request reports