giuspen / cherrytree

cherrytree
https://www.giuspen.net/cherrytree/
Other
3.29k stars 457 forks source link

cannot export to html from command line with windows executable #2502

Open LiranSX opened 1 month ago

LiranSX commented 1 month ago

Version, Operative system 1.1.2

Describe the bug according to the docs at https://www.giuspen.com/cherrytreemanual/#_exporting, using "cherrytree.exe -x [path]" should export the notes to html. it doesn't work - instead the UI is launched. also "cherrytree.exe -h" for help does nothing. is command line supported for windows?

To Reproduce just run "cherrytree.exe -h" on windows version for example - nothing happens. running "cherrytree.exe -x [path]" opens the app and does not export anything.

giuspen commented 1 month ago

This is tricky, there is currently a setting in the build to exclude the terminal on windows as otherwise cherrytree always opens with a terminal window which is annoying. I will see if something can be done so that the same executable can support both modes

LiranSX commented 1 month ago

will be great if it can be solved. actually exporting the tree of notes is a great feature generally - it'll make it possible to carry a copy of all notes on mobile cell.