pub fn run(
search_term: &str,
registry_filter: Option<&str>,
repo: Option<&str>,
package_type: Option<&str>,
tags: Option<Vec<String>>,
sort_by: &str,
files: bool,
interactive: bool,
) -> Result<()>Expand description
Runs the search command with the provided terms and options.
§Errors
Returns an error if:
- File search fails.
- Configuration reading fails.
- Database search fails.
- Package resolution fails.
§Panics
Panics if the interactive TUI fails to initialize or if layout calculations fail. # Errors
Returns an error if the search operation fails.