github.com/tilotech/tilores-cli@v0.28.0/cmd/rules.go (about)

     1  package cmd
     2  
     3  import (
     4  	"github.com/spf13/cobra"
     5  )
     6  
     7  // rulesSimulateCmd represents simulateRules command
     8  var rulesCmd = &cobra.Command{
     9  	Use:   "rules",
    10  	Short: "A base for all rules related commands.",
    11  	Long:  `A base for all rules related commands.`,
    12  	Run: func(cmd *cobra.Command, _ []string) {
    13  		err := cmd.Usage()
    14  		cobra.CheckErr(err)
    15  	},
    16  }
    17  
    18  func init() {
    19  	rootCmd.AddCommand(rulesCmd)
    20  }