Creating VMs using command line

I am trying to create VMs using command line.
I followed a tutorial for creating vms from command line posted by another user here, but I ran into an issue.
After following the steps to create a new TemplateVM, I noticed that it’s not appearing in qvm-ls.
What could be wrong?

What command did you use to create new template?
Did you have any errors after running this command?