Upgrading version of go australis is built with. Added script to build debian package inside of docker container for easy distribution in a debian environment.

This commit is contained in:
Renan DelValle 2019-03-21 16:08:17 -07:00
parent 0a5607d5b4
commit 0f19631c9a
No known key found for this signature in database
GPG key ID: C240AD6D6F443EC9
6 changed files with 38 additions and 54 deletions

24
cmd/docs.go Normal file
View file

@ -0,0 +1,24 @@
package cmd
import (
"github.com/spf13/cobra"
"github.com/spf13/cobra/doc"
)
func init() {
rootCmd.AddCommand(docsCmd)
}
var docsCmd = &cobra.Command{
Use: "docs",
Short: "Kill an Aurora Job",
PersistentPreRun: func(cmd *cobra.Command, args []string) {}, // We don't need a realis client for this cmd
PersistentPostRun: func(cmd *cobra.Command, args []string) {}, // We don't need a realis client for this cmd
Run: func(cmd *cobra.Command, args []string) {
err := doc.GenMarkdownTree(rootCmd, "./docs")
if err != nil {
log.Fatal(err)
}
},
}