mirror of
https://github.com/tengge1/ShadowEditor.git
synced 2026-01-25 15:08:11 +00:00
18 lines
346 B
Go
18 lines
346 B
Go
package cmd
|
|
|
|
import (
|
|
"fmt"
|
|
|
|
"github.com/spf13/cobra"
|
|
)
|
|
|
|
var serveCmd = &cobra.Command{
|
|
Use: "serve",
|
|
Short: "Use shadoweditor server to provider data",
|
|
Aliases: []string{"server"},
|
|
Long: `Use shadoweditor server to provider data.`,
|
|
Run: func(cmd *cobra.Command, args []string) {
|
|
fmt.Println("ShadowEditor serve started")
|
|
},
|
|
}
|