How to make a function callable in the cli?

I wrote a script that automates my initial steps to start up a git repo, and push it to GitHub. The problem is I want to be able to use the function in the powershell terminal, passing the path and origin parameters as needed. Currently I have to open up the file and edit them manually. It’s still loads better than setting it up manually. I don’t want to have to type the file location and the file either. I want to use the function like a cmdlet.

submitted by /u/Mymar
[link] [comments]

Leave a Reply