Skip to main content

cmd_entity_register

Function cmd_entity_register 

Source
pub fn cmd_entity_register(
    db_path: &Path,
    args: &EntityRegisterArgs,
    out: &mut CliOutput<'_>,
) -> Result<()>
Expand description

ai-memory entity-register dispatch entry.

§Errors

  • The DB at db_path cannot be opened.
  • The substrate refuses the call (validation, name collision with non-entity row).
  • serde_json::to_string cannot serialise the envelope.