Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DeleteCmd = &cobra.Command{ Use: "delete -r RuleName [filename]...", Short: "Delete rule", Long: "Delete matching rule", DisableFlagsInUseLine: true, Args: cobra.MinimumNArgs(1), Run: func(cmd *cobra.Command, args []string) { for _, file := range args { deleteRule(file, ruleName) } }, }
View Source
var ListCmd = &cobra.Command{ Use: "list [flags] [filename]...", Short: "List matching rules", Args: cobra.MinimumNArgs(1), Run: func(cmd *cobra.Command, args []string) { for _, file := range args { listRules(file) } }, }
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.