Initial commit of client.

This commit is contained in:
Renan DelValle 2017-12-02 15:08:43 -08:00
commit cc4c95d55a
3 changed files with 41 additions and 0 deletions

17
cmd/kill.go Normal file
View file

@ -0,0 +1,17 @@
package cmd
import (
"github.com/spf13/cobra"
"fmt")
func init() {
rootCmd.AddCommand(killCmd)
}
var killCmd = &cobra.Command{
Use: "kill",
Short: "kill an Aurora Job",
Run: func(cmd *cobra.Command, args []string) {
fmt.Println("Kill job")
},
}

15
cmd/root.go Normal file
View file

@ -0,0 +1,15 @@
package cmd
import "github.com/spf13/cobra"
var rootCmd = &cobra.Command{
Use: "ionbeam",
Short: "ionbeam is a client for Apache Aurora",
Long: `A light-weight, intuitive command line client for use with Apache Aurora.`,
Run: func(cmd *cobra.Command, args []string) {},
}
func Execute() {
rootCmd.Execute()
}

9
main.go Normal file
View file

@ -0,0 +1,9 @@
package main
import (
"github.com/rdelval/ionbeam/cmd"
)
func main() {
cmd.Execute()
}