add dummy output

This commit is contained in:
Robert Kaussow
2019-08-21 16:53:11 +02:00
parent 3e408052ed
commit 4ce3aebb08

View File

@@ -2,6 +2,7 @@ package service
import (
"os"
"log"
"github.com/spf13/cobra"
)
@@ -10,13 +11,14 @@ import (
func NewRevaPhoenixCommand(name string) (*cobra.Command) {
cmd := &cobra.Command{
Use: name,
Short: "Request a new project",
Short: "Start phoenix server",
Run: func(cmd *cobra.Command, args []string) {
if len(args) != 0 {
cmd.Help()
os.Exit(1)
}else{
log.Print("Dummy phoenix startup")
}
},
}