Add a CHANGLOG.md

This commit is contained in:
Vikram Rangnekar
2019-11-28 15:27:20 -05:00
parent ef51b99fc7
commit e82bdbed65
9 changed files with 494 additions and 56 deletions

View File

@ -46,7 +46,7 @@ func Init() {
rootCmd := &cobra.Command{
Use: "super-graph",
Short: "An instant high-performance GraphQL API. No code needed. https://supergraph.dev",
Short: BuildDetails(),
}
rootCmd.AddCommand(&cobra.Command{
@ -310,20 +310,19 @@ func initConfOnce() {
}
func cmdVersion(cmd *cobra.Command, args []string) {
fmt.Printf("\n%s\n", BuildDetails())
fmt.Printf("%s\n", BuildDetails())
}
func BuildDetails() string {
return fmt.Sprintf(`
Super Graph %v
Super Graph %v
For documentation, visit https://supergraph.dev
Commit SHA-1 : %v
Commit timestamp : %v
Branch : %v
Go version : %v
For documentation, visit https://supergraph.dev
Licensed under the Apache Public License 2.0
Copyright 2015-2019 Vikram Rangnekar.
`,

View File

@ -1,3 +1,4 @@
// Code generated by rice embed-go; DO NOT EDIT.
package serv
import (