pub fn write_event(cli: &Cli) -> Result<String, String>
create-event: validate, canonicalize, id, write event artifact.
create-event