How do I test my event function locally using the CLI?
You can execute your event function locally using the catalyst shell command in the Catalyst CLI. You can generate a sample payload for your event function to test it by executing the catalyst event:generate {component} {action} command.
For example: catalyst event:generate DataStore insert. This will generate a sample payload for a Data Store insert operation. You can then pass the generated payload as the input to your event function in the CLI.
Updated
Yes
No
Send your feedback to us
Skip
Submit
Ask AI about this answer