diff --git a/README.md b/README.md index 9c75dd5..ddf1edb 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,7 @@ ### What's Goffee? -`Goffee` is the`cli` tool of the framework, it helps you create new projects and perform other tasks. +`Goffee` is the`cli` tool of the Goffee framework, it helps you create new projects and perform other tasks. ### Install @@ -25,5 +25,4 @@ goffee new myapp git.smarteching.com/goffee/myapp To start the app in the `live reloading` mode for development, first cd into the project directory, then run the following command: ```bash goffee run:dev -``` -Goffe is a tool building over a fork of the awesome project of Harran Ali \ No newline at end of file +``` \ No newline at end of file diff --git a/cmd/new.go b/cmd/new.go index 6658ebf..c9bfdb7 100644 --- a/cmd/new.go +++ b/cmd/new.go @@ -79,7 +79,7 @@ var newCmd = &cobra.Command{ os.Exit(0) } - // Download the config from github + // Download the config from git.smarteching.com fmt.Println("Preparing ...") var config Config @@ -109,7 +109,7 @@ var newCmd = &cobra.Command{ cn.Unpack(filePath, pwd) // Rename to the user's given project name - os.Rename("./cup-"+removeFirstCHar(repoMeta.TagName), "./"+projectName) //first char is `v` + os.Rename("./cup", "./"+projectName) //first char is `v` // Remove the downloaded cup archive os.Remove(filePath)