CLI commands to create a windows phone app

Hi

I am looking for a documentation giving an step by step, about creating an app for windows phone using ionic 1.0.0 ?

I try ionic add platform wp8 and ionic build wp8 but give an erro message.
.
Also install visual studio, cordova for visual studio and download the sample from : https://code.msdn.microsoft.com/Ionic-SideMenu-Starter-8e905eb5, but stiil not able to run the app

How is the app copied to the windows phone after building?

Thank´s in advance