tamar-cli
v0.3.0
Published
CLI for Tamar Resume Tailoring API
Readme
tamar-cli
CLI tool for the Tamar resume tailoring API.
Installation
npm install -g tamar-cliQuick Start
# 1. Configure your API key
tamar auth --key tmr_your_api_key_here
# 2. Upload a resume
tamar upload resume.pdf
# 3. Tailor it for a job
tamar tailor --job https://linkedin.com/jobs/123
# 4. Download the result
tamar downloadCommands
tamar auth
Configure your API key and API URL.
tamar auth # interactive prompt
tamar auth --key tmr_abc123... # non-interactive
tamar auth --api-url https://... # custom API URLtamar upload <file>
Upload and parse a resume file (PDF, DOCX, or TXT). The parsed resume is stored on the server and its ID is saved locally for future commands.
tamar upload resume.pdf
tamar upload resume.docxtamar tailor
Tailor a resume for a specific job description.
# From a URL (the API will scrape it)
tamar tailor --job https://linkedin.com/jobs/123
# From a local file
tamar tailor --job jd.txt
# Inline text
tamar tailor --job "Senior Engineer at Acme..."
# Upload + tailor in one step
tamar tailor --job jd.txt --resume resume.pdf
# Use a specific profile
tamar tailor --job jd.txt --profile-id <uuid>
# Pipe support
cat jd.txt | tamar tailor --resume resume.pdftamar feedback "<text>"
Apply natural-language feedback to the last tailored resume.
tamar feedback "Make the summary shorter"
tamar feedback "Emphasize Python experience" --id <resume-id>tamar download
Download the latest tailored resume.
tamar download # PDF (default)
tamar download --format json # structured JSON
tamar download --id <resume-id> # specific resume
tamar download --output my.pdf # custom filenameConfig
Settings are stored in ~/.tamarrc:
{
"apiKey": "tmr_...",
"apiUrl": "https://ask-tamar.com/api/v1",
"lastResumeId": "uuid",
"lastTailoredId": "uuid"
}Development
cd packages/cli
npm install
npm run dev -- --help # run with tsx
npm run build # compile TypeScript