You want to create a Logic App without using the Azure Portal web UI. What should you do?
Possible Solution #1
To get an overview of using an ARM template for a Logic App, you should read this article.
Possible Solution #2
If you have Visual Studio, you can use the Azure Logic Apps Tool for Visual Studio. To learn more, see this site.
Possible Solution #3
Use this PowerShell creator.