Skip to content

Commit 38998ad

Browse files
committed
fix missing subcommands
1 parent 64b36fc commit 38998ad

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

cli/sketch/sketch.go

Lines changed: 5 additions & 1 deletion
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)