add swagger

This commit is contained in:
yanghao05
2023-06-09 14:32:21 +08:00
parent 37bf456102
commit 3f27dee0b2
23 changed files with 245 additions and 89 deletions

View File

@@ -30,7 +30,7 @@ ExecStart={{.ExecStart}}
[Install]
WantedBy={{.WantedBy}}`
var serviceCmd = &cobra.Command{
serviceCmd := &cobra.Command{
Use: "service",
Short: "install linux service",
RunE: func(cmd *cobra.Command, args []string) error {