Files
QSfera/service/service.go
T
2019-08-21 16:41:17 +02:00

24 lines
383 B
Go

package service
import (
"os"
"github.com/spf13/cobra"
)
// NewRevaPhoenixCommand is the entry point for reva-phoenix
func NewRevaPhoenixCommand(name string) (*cobra.Command) {
cmd := &cobra.Command{
Use: name,
Short: "Request a new project",
Run: func(cmd *cobra.Command, args []string) {
if len(args) != 0 {
cmd.Help()
os.Exit(1)
}
},
}
return cmd
}