nunu: fix run RunCmd.Long

This commit is contained in:
chris
2023-06-08 12:11:19 +08:00
parent 00c2662d95
commit 54c67de4c8
3 changed files with 3 additions and 3 deletions

View File

@@ -27,7 +27,7 @@ type Run struct {
var RunCmd = &cobra.Command{ var RunCmd = &cobra.Command{
Use: "run", Use: "run",
Short: "nunu run [main.go path]", Short: "nunu run [main.go path]",
Long: "nunu wire [wire.go path]", Long: "nunu run [main.go path]",
Example: "nunu run cmd/server", Example: "nunu run cmd/server",
Run: func(cmd *cobra.Command, args []string) { Run: func(cmd *cobra.Command, args []string) {
cmdArgs, programArgs := helper.SplitArgs(cmd, args) cmdArgs, programArgs := helper.SplitArgs(cmd, args)

View File

@@ -28,7 +28,7 @@ type Run struct {
var RunCmd = &cobra.Command{ var RunCmd = &cobra.Command{
Use: "run", Use: "run",
Short: "nunu run [main.go path]", Short: "nunu run [main.go path]",
Long: "nunu wire [wire.go path]", Long: "nunu run [main.go path]",
Example: "nunu run cmd/server", Example: "nunu run cmd/server",
Run: func(cmd *cobra.Command, args []string) { Run: func(cmd *cobra.Command, args []string) {
cmdArgs, programArgs := helper.SplitArgs(cmd, args) cmdArgs, programArgs := helper.SplitArgs(cmd, args)

View File

@@ -1,3 +1,3 @@
package version package version
const Version = "1.0.1" const Version = "1.0.3"