Custom visuals developed using the old method / tools can not be directly migrated to the PowerBI command line tools. As for the new developer tools, there are still a few limitations to using it. You may follow the link below to create a custom visual with the new tool.