pub fn handle_entity_commands(
entity_sub_commands: &EntitySubCommands,
e_type: &EntityType,
) -> Result<(), AppError>Expand description
Handles an entity subcommand.
This function loads the main epoch configuration, then dispatches the
provided subcommand to the appropriate handler. It returns an
AppError if any operation fails.
§Arguments
entity_sub_commands- The subcommand chosen by the user.e_type- The type of entity to operate on.
§Returns
A Result indicating success (Ok(())) or the encountered AppError.