Don't have Telegram yet? Try it now!
https://veenstra.me.uk/2014/03/24/share-point-2013-workflow-manager-1-0-how-to-publish-a-list-workflow-programmatically/
SharePoint 2013 - Workflow Manager 1.0 - How to publish a list workflow programmatically