In command line: executing "soffice --calc new.ods" does not create a new file in the current directory, but instead of it just error message "File new.ods does not exist" is displayed.
Thus, there is no option how to create a new LibreOffice file from the command line - tested on Windows and Linux, for further details, see https://ask.libreoffice.org/en/question/153444/how-to-create-empty-libreoffice-file-in-a-current-directory-on-the-command-line/?comment=153612#post-id-153612
Steps to Reproduce:
1. Ensure that soffice binary can be executed from your command line
2. Run >soffice.exe --calc newfile.ods
3. Observe the error dialogue
Error dialogue complaining about nonexistence of file.
A new LibreOffice file (calc) should be created in the current directory
User Profile Reset: No
Version: 22.214.171.124 (x64)
Build ID: 8f48d515416608e3a835360314dac7e47fd0b821
CPU threads: 4; OS: Windows 6.3; UI render: default;
Locale: en-US (en_US); Calc: group
User-Agent: Mozilla/5.0 (Windows NT 6.3; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/66.0.3359.117 Safari/537.36
*** This bug has been marked as a duplicate of bug 40227 ***