Documentation ¶
Overview ¶
The cmd package is used for Cobra integration.
0.1.1 Created by make-go-github-file.yaml on Wed Jan 3 21:50:11 UTC 2024
Index ¶
Constants ¶
View Source
const ( Short string = "Load records into Senzing." Use string = "load" Long string = `` /* 324-byte string literal not displayed */ )
Variables ¶
View Source
var ContextVariables = append(ContextVariablesForMultiPlatform, ContextVariablesForOsArch...)
View Source
var ContextVariablesForMultiPlatform = []option.ContextVariable{ option.DelayInSeconds, option.EngineConfigurationJson, option.EngineModuleName.SetDefault(fmt.Sprintf("load-%d", time.Now().Unix())), option.InputFileType, option.InputURL, option.JSONOutput, option.LogLevel, option.MonitoringPeriodInSeconds, option.OutputURL, option.RecordMax, option.RecordMin, option.RecordMonitor, }
View Source
var ContextVariablesForOsArch = []option.ContextVariable{}
View Source
var RootCmd = &cobra.Command{ Use: Use, Short: Short, Long: Long, PreRun: PreRun, RunE: RunE, Version: Version(), }
RootCmd represents the command.
Functions ¶
func Execute ¶
func Execute()
Execute adds all child commands to the root command and sets flags appropriately. This is called by main.main(). It only needs to happen once to the RootCmd.
Types ¶
This section is empty.
Source Files ¶
Click to show internal directories.
Click to hide internal directories.