mirror of
https://github.com/opencloud-eu/opencloud.git
synced 2025-12-23 22:29:59 -05:00
add dummy output
This commit is contained in:
@@ -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")
|
||||
}
|
||||
|
||||
},
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user