Documentation ¶
Overview ¶
Package prompt handles the prompt for creation of repository in GitHub. It takes in the GitHub personal access token to create your repo and then do an init commit with a README.md and .gitignore file. Currently only 6 tempaltes i.e. Node, Android, Golang, Java, Python, Rails. More templates will be added through Command Line arguments.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GitIgnorePrompt ¶
func GitIgnorePrompt() string
GitIgnorePrompt prompts the user to select the gitignore template and then calls gitIgnoreContent to return the content of the file
func InitCommit ¶
InitCommit does the following things 1. Clone the remote repo and store it to the location 2. Get the gitignore file from GitHub if avaliable and write it to your the folder. 3. Init the commit with a commit msg
func RepoPrompt ¶
RepoPrompt gives the prompt related to Repository
Types ¶
This section is empty.