sig-events
                                
                                
                                
                                    sig-events copied to clipboard
                            
                            
                            
                        SDK: Missing examples of sending events
In the readme for the SDK we list examples of how to send events. The SDK does support more events than listed in the examples.
To resolve this issue add examples for sending the other event types.
I would like to work on this.
I was looking into this and noticed that taskrun events have examples for queued while the cli does not.
Which of these is correct, the example or the code?
go run main.go taskrun 
Emit TaskRun related CloudEvent
Usage:
  cde taskrun [command]
Available Commands:
  finished    Emit TaskRun Finished Event
  started     Emit TaskRun Started Event
Flags:
  -d, --data stringToString   Task Run's Data (default [])
  -h, --help                  help for taskrun
  -i, --id string             Task Run Id
  -n, --name string           Task Run's Name
  -p, --pipelineid string     Task Run's Pipeline Id
Global Flags:
      --config string   config file (default is $HOME/.cde.yaml)
Use "cde taskrun [command] --help" for more information about a command.
                                    
                                    
                                    
                                
@nathan-415 There were some inconsistencies that were fixed by https://github.com/cdfoundation/sig-events/pull/84 (merged the 9:th) could this answer your questions?
Is this issue still valid, @m-linner-ericsson, @nathannaveen , @afrittoli ? If so, it should be re-created in the cdevents/sdk-go repo
If we solve https://github.com/cdfoundation/sig-events/issues/129 this would not be an issue any longer.