in cmd/apmtool/events.go [91:109]
func NewSendEventCmd(commands *Commands) *cli.Command {
return &cli.Command{
Name: "send-events",
Usage: "send events stored in ND-JSON format",
Action: commands.sendEventsCommand,
Flags: []cli.Flag{
&cli.StringFlag{
Name: "file",
Aliases: []string{"f"},
Required: true,
Usage: "File containing the payload to send, in ND-JSON format. Payload must be provided via this flag or stdin.",
},
&cli.BoolFlag{
Name: "rumv2",
Usage: "Send events to /intake/v2/rum/events",
},
},
}
}