Documentation ¶
Index ¶
- func AskDatabase(in *os.File) string
- func AskGithub(in *os.File) string
- func AskProjectName(in *os.File) string
- func AskRubocop(in *os.File) string
- func AskTests(in *os.File) (string, string)
- func AskWorkingDirectory(in *os.File) string
- func Copy(src, dst string)
- func CreateGithubActionsDirectory(isGithub, wrkDr, projectName string)
- func CreateProjectDirectory(workingDir, projectName string) string
- func DisplayLastCommands() string
- func GetHomeDirectory() string
- func IsDirectoryExists(directory string) bool
- func WriteToFile(file, stringToWrite string)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AskDatabase ¶
AskDatabase is a function which asks a user which database they will use and returns the answer
func AskRubocop ¶
AskRubocop is a function which asks a user if they will use rubocop and then returns the answer of the user
func AskWorkingDirectory ¶
AskWorkingDirectory function
func CreateGithubActionsDirectory ¶
func CreateGithubActionsDirectory(isGithub, wrkDr, projectName string)
CreateGithubActionsDirectory is a function which creates github actions directory
func CreateProjectDirectory ¶
CreateProjectDirectory function is to create projec
func DisplayLastCommands ¶
func DisplayLastCommands() string
DisplayLastCommands func shows a user next steps
func GetHomeDirectory ¶
func GetHomeDirectory() string
GetHomeDirectory is used to get home directory
func IsDirectoryExists ¶
IsDirectoryExists function is used to prove if a passed string stands for a directory
func WriteToFile ¶
func WriteToFile(file, stringToWrite string)
WriteToFile is a function which used to write to file
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.