Skip to content

Add --url flag to applypilot run to inject a specific job URL - #95

Open
ArchieChelle wants to merge 1 commit into
Pickle-Pixel:mainfrom
ArchieChelle:add-url-flag
Open

Add --url flag to applypilot run to inject a specific job URL#95
ArchieChelle wants to merge 1 commit into
Pickle-Pixel:mainfrom
ArchieChelle:add-url-flag

Conversation

@ArchieChelle

Copy link
Copy Markdown

Problem

There was no way to run the pipeline on a single, specific job URL — only the full discover stage that pulls from all configured boards/employers.

Fix

Add a --url option to applypilot run. When passed, it injects the URL into the database directly (site="manual") and skips the discover stage, running enrich -> score -> tailor -> cover -> pdf on just that job. Useful for testing the pipeline against one posting, or handling a job found outside the normal discovery sources.

If --stages isn't also passed, it defaults to the enrich-through-pdf stages; if it is passed, discover is filtered out of the requested list since there's nothing to discover.

Scope

Single file: src/applypilot/cli.py.

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