fn add_cell(name: &str, dims: Dims, db: &mut Database) -> Result<(), MemeaError>Expand description
Interactively adds a cell to the database with user confirmation and type selection.
This function displays cell information to the user, asks for confirmation to add the cell, and prompts for the cell type (core, switch, logic, or ADC). It handles the interactive workflow for building a component database from LEF data.
§Arguments
name- Name of the cell to adddims- Physical dimensions of the celldb- Mutable reference to the database to update
§Returns
Ok(())- Cell was successfully processed (added or skipped)Err(MemeaError)- Error during user interaction or database update