Just a note that there is a very detailed section about Reloading Python modules in order to circumvent FC restart in
https://forum.freecadweb.org/viewtopic.php?f=10&t=35383
The current incarnation of the code: https://gist.github.com/luzpaz/f3bfaaef ... 941f6ed7a5 (Revision 15)
Code: Select all
$ git clone https://gist.github.com/f3bfaaef8aaec9c66b96e0941f6ed7a5.git AddonManagerHeadless.py
$ freecadcmd AddonManagerHeadless.py
Code: Select all
CLI Addon Manager
Usage:
list lists all official addons + which are currently installed
check check what addons have Updates
updateall update all addons that have pending updates
install <addon> [<addon>] installs valid (case-sensitive) addons
remove <addon> [<addon>] remove valid (case-sensitive) addons
Modified the existing GUI manager, basically cut and pasted most of the following: AddonManager.py
The Todos listed in the script are later down the roadmap. Most importantly is:
There aren't any official objectives that I know of. Basically, whatever you can improve is good.
It seems to be like you said
Got it. I understand well this kind of structure cause I already have developped research instrument driver with a frontend (GUI, button and graph) and a backend (communication, drive control, log, data acquisition and calculation)