Skip to content

feat: add search command (CLI + DB + tests)#1

Merged
raghava0071 merged 2 commits into
mainfrom
feature/search
Aug 18, 2025
Merged

feat: add search command (CLI + DB + tests)#1
raghava0071 merged 2 commits into
mainfrom
feature/search

Conversation

@raghava0071

@raghava0071 raghava0071 commented Aug 18, 2025

Copy link
Copy Markdown
Owner

Summary

Adds a search command to the CLI and a DB helper so users can search applications by company, role, source, or notes.

Changes

  • jobcli/db.py: add search_applications(query, limit) using SQL LIKE across fields
  • jobcli/cli.py: add search subcommand + handler
  • pyproject.toml: console script entry (jobcli) already added

How to test locally

# from the project root, with venv active
pytest -q
jobcli search --q "Analyst" --limit 5
# or: python -m jobcli.cli search --q "Analyst"

@raghava0071 raghava0071 changed the title feat: add search command (CLI + DB + tests)Feature/search feat: add search command (CLI + DB + tests) Aug 18, 2025
@raghava0071 raghava0071 merged commit 7416f56 into main Aug 18, 2025
1 check passed
@raghava0071 raghava0071 deleted the feature/search branch August 18, 2025 23:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant