Lines Matching refs:Command
56 var rootCmd *cobra.Command
60 rootCmd = &cobra.Command{
61 Run: func(cmd *cobra.Command, args []string) {
71 func initRunCmd(m pkg.Manager, t tester.Tester) *cobra.Command {
73 runCmd := &cobra.Command{
76 RunE: func(cmd *cobra.Command, args []string) error {
89 func initFlashCmd(m pkg.Manager) *cobra.Command {
91 flashCmd := &cobra.Command{
94 RunE: func(cmd *cobra.Command, args []string) error {
104 func initTestCmd(m pkg.Manager, t tester.Tester) *cobra.Command {
106 testCmd := &cobra.Command{
109 RunE: func(cmd *cobra.Command, args []string) error {