diff --git a/README.md b/README.md index 549e14d..fe26536 100644 --- a/README.md +++ b/README.md @@ -3,7 +3,10 @@ ![Go Tests](https://github.com/EmperorYP7/tmake/workflows/Tests/badge.svg) ![GoLint](https://github.com/EmperorYP7/tmake/workflows/GoLint/badge.svg) -![TMake Snapshot](./resources/snapshot.png "Current state of TMake") +[![Software License](https://img.shields.io/github/license/EmperorYP7/tmake?style=for-the-badge&logo=appveyor)](/LICENSE.md) +![Stars](https://img.shields.io/github/stars/EmperorYP7/tmake?style=for-the-badge&logo=appveyor) + +![TMake Logo](./resources/logo.png "logo") `TMake` is still work under progress. The aim of this project is to make a functional and easy to use CLI for making templates with a single command. What templates you ask? @@ -13,6 +16,8 @@ about a competition when we're just minutes away from commencing. To tackle this seemingly minute yet huge issue, I came up with an idea of making a CLI to help competitive coders to get ready in a single command. +![TMake Snapshot](./resources/snapshot.png "Current state of TMake") + ## Getting started As of now, Tmake's binary is only available through GitHub releases. We'll soon be entering Homebrew, diff --git a/cmd/generate.go b/cmd/generate.go index 0f43deb..15aca01 100644 --- a/cmd/generate.go +++ b/cmd/generate.go @@ -41,12 +41,7 @@ sources if they're valid otherwise, will throw an error. Annotations: map[string]string{}, Version: "", Run: func(cmd *cobra.Command, args []string) { - err := Copy(args[1], args[2]) - if err != nil { - fmt.Printf("Error") - return - } - fmt.Println("Created", args[0], "files") + fmt.Println("Created", args[0], "files at", args[2]) }, SilenceErrors: false, SilenceUsage: false, diff --git a/cmd/root.go b/cmd/root.go index f764f2c..89c9382 100644 --- a/cmd/root.go +++ b/cmd/root.go @@ -41,7 +41,7 @@ its use in competitive programming and many other fields of Computer Science`, Deprecated: "", Hidden: false, Annotations: map[string]string{}, - Version: "v1.0", + Version: "v0.1.0beta", SilenceErrors: false, SilenceUsage: false, DisableFlagParsing: false, diff --git a/resources/logo.png b/resources/logo.png new file mode 100644 index 0000000..b4de6f5 Binary files /dev/null and b/resources/logo.png differ