gosl/cmd/Client.go

26 lines
405 B
Go
Raw Normal View History

2016-01-18 23:19:51 +01:00
package cmd // code.bitsetter.de/fun/gosl/cmd
import (
"fmt"
"github.com/spf13/cobra"
2016-01-22 20:17:03 +01:00
"code.bitsetter.de/fun/gosl/data"
2016-01-18 23:19:51 +01:00
)
var cmdClient = &cobra.Command{
Use: "client",
Short: "Runs Gosl as a client",
Long: "Runs Gosl as a client",
// Run:
}
func runClient(cmd *cobra.Command, args []string) {
fmt.Println("running client ...")
2016-01-22 20:17:03 +01:00
data.TestNC()
2016-01-18 23:19:51 +01:00
}
func init() {
cmdClient.Run = runClient
}