Export and Import Through Command

The new template has been created on our site.
We need the export and import into a different site

How it could be achieved ??

You have site:export and site:import commands for such things

https://neos.readthedocs.io/en/stable/References/CommandReference.html#neos-neos-site-export
https://neos.readthedocs.io/en/stable/References/CommandReference.html#neos-neos-site-import

Thanks.

Tried running using below command
./flow site:export –package-key News.Demo —filename= test.xml

But there is no file created with test.xml which has been mentioned in command (expecting all the data will be imported in same file so could be imported through Neos import command)

What did the console return? If you just do ./flow site:export --package-key <your-site-package> what happens? Be aware that the --package-key is where the exported data should be saved

Did you work around this issue or exported it in some other way?