pub fn parse_entity(
name: &str,
field_strs: &[String],
) -> Result<EntityDefinition>Expand description
Parse entity from CLI args. Format: name:type or name:type->Relation or name:type? (? = optional) Validation: name:type[min=3,max=100] Searchable: name:type[searchable] Relation formats: name:has_many->Entity, name:m2m->Entity