Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var RootCmd = &cobra.Command{ Use: "rulehunter", Short: "Rulehunter finds rules in data based on user defined goals", Long: `Rulehunter finds rules in data based on user defined goals. Complete documentation is available at http://rulehunter.com`, RunE: func(cmd *cobra.Command, args []string) error { l := logger.NewSvcLogger() return runRoot(l, flagConfigFilename, flagFile, flagIgnoreWhen) }, }
View Source
var ServeCmd = &cobra.Command{ Use: "serve", Short: "Run Rulehunter as a server", Long: `Rulehunter will run as a server continually monitoring an 'experiments' directory and processing its contents.`, RunE: func(cmd *cobra.Command, args []string) error { l := logger.NewSvcLogger() q := quitter.New() defer q.Quit() return runServe(l, q, flagConfigFilename) }, }
View Source
var ServiceCmd = &cobra.Command{
Use: "service",
Short: "Control Rulehunter service",
Long: `Control Rulehunter operating system service.`,
}
View Source
var ServiceInstallCmd = &cobra.Command{ Use: "install", Short: "Install Rulehunter as a service", Long: `Install the Rulehunter server as an operating system service.`, RunE: func(cmd *cobra.Command, args []string) error { l := logger.NewSvcLogger() return runInstallService(l, flagConfigFilename) }, }
View Source
var ServiceUninstallCmd = &cobra.Command{ Use: "uninstall", Short: "Uninstall Rulehunter service", Long: `Uninstall the Rulehunter operating system service.`, RunE: func(cmd *cobra.Command, args []string) error { l := logger.NewSvcLogger() return runUninstallService(l, flagConfigFilename) }, }
Functions ¶
This section is empty.
Types ¶
Click to show internal directories.
Click to hide internal directories.