github.com/jenkins-x/jx/v2@v2.1.155/pkg/cmd/options.go (about) 1 package cmd 2 3 import ( 4 "io" 5 6 "github.com/jenkins-x/jx/v2/pkg/cmd/templates" 7 "github.com/spf13/cobra" 8 ) 9 10 // NewCmdOptions implements the options command 11 func NewCmdOptions(out io.Writer) *cobra.Command { 12 cmd := &cobra.Command{ 13 Use: "options", 14 Run: func(cmd *cobra.Command, args []string) { 15 cmd.Usage() //nolint:errcheck 16 }, 17 } 18 19 templates.UseOptionsTemplates(cmd) 20 21 return cmd 22 }