Skip to content

Commit f179a91

Browse files
committed
fix missing subcommands
1 parent c8edd76 commit f179a91

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

Diff for: cli/sketch/sketch.go

+5-1
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,14 @@ import (
2525

2626
// NewCommand created a new `sketch` command
2727
func NewCommand() *cobra.Command {
28-
return &cobra.Command{
28+
cmd := &cobra.Command{
2929
Use: "sketch",
3030
Short: "Arduino CLI Sketch Commands.",
3131
Long: "Arduino CLI Sketch Commands.",
3232
Example: " " + os.Args[0] + " sketch new MySketch",
3333
}
34+
35+
cmd.AddCommand(initNewCommand())
36+
37+
return cmd
3438
}

0 commit comments

Comments
 (0)