refactor(cli): simplify handle_clear_options usage in crawl and query commands
- Updated handle_clear_options to accept db_file and database_cls directly.
- Removed redundant database instance creation in crawl and query functions.
- Improved clarity and maintainability of the code.