How to run libre scripts from linux command line?

Can you please share the syntax to run libre scripts on linux terminal?

The input to the script will be a filepath. For example:

ssoffice <macro_path> <input_filepath>

https://bugs.documentfoundation.org/show_bug.cgi?id=104441

soffice FileName macro:///Path.To.Macro