Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var CONFIGURATIONS map[string]ConfigVariable = map[string]ConfigVariable{ "extensions.selected": ConfigVariable{ // contains filtered or unexported fields }, "profiles.selected": ConfigVariable{ // contains filtered or unexported fields }, }
View Source
var GenerateProtoCmd = &cobra.Command{ Use: "generate-proto [ocsf_class_name]...", Short: "Generate a Proto file", Example: "ocsf-tool generate-proto file_activity process_activity", Long: "Generate a Proto file for the specified OCSF classes.\nUse the `ocsf-tool schema-class-list` command to see a list of all OCSF classes.", Args: cobra.MinimumNArgs(1), Run: runGenerateProtoCmd, }
Define the GenerateProtoCmd command
View Source
var SchemaClassListCmd = &cobra.Command{ Use: "schema-class-list", Short: "List all classes in the OCSF schema", Args: cobra.MinimumNArgs(0), Run: runSchemaClassListCmd, }
Define SchemaClassList Command
Functions ¶
func GetRootCmd ¶
Types ¶
type ConfigVariable ¶ added in v0.2.0
type ConfigVariable struct {
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.