jobkompass-cli 0.1.1 → 0.1.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +56 -5
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -109,7 +109,7 @@ var commands = [
|
|
|
109
109
|
},
|
|
110
110
|
{
|
|
111
111
|
name: "resumes add",
|
|
112
|
-
desc: "Generate a resume PDF (template: jake or
|
|
112
|
+
desc: "Generate a resume PDF (template: jake or joseph) and save it",
|
|
113
113
|
method: "POST",
|
|
114
114
|
path: "/agent/resumes/generate",
|
|
115
115
|
opts: [
|
|
@@ -125,11 +125,11 @@ var commands = [
|
|
|
125
125
|
{ flag: "--projects <json>", api: "projects", type: "json", desc: "[{name,description,date?,technologies?,details?}]" },
|
|
126
126
|
{ flag: "--skills <json>", api: "skills", type: "json", desc: '{"technical":[...],"additional"?:[...]}' },
|
|
127
127
|
{ flag: "--certifications <json>", api: "certifications", type: "json", desc: "[{name,issuer?,date?,credentialId?}]" },
|
|
128
|
-
{ flag: "--core-competencies <json>", api: "coreCompetencies", type: "json", desc: '(
|
|
129
|
-
{ flag: "--early-career <json>", api: "earlyCareer", type: "json", desc: "(
|
|
128
|
+
{ flag: "--core-competencies <json>", api: "coreCompetencies", type: "json", desc: '(Joseph template) ["Technical Support","Problem-Solving",...]' },
|
|
129
|
+
{ flag: "--early-career <json>", api: "earlyCareer", type: "json", desc: "(Joseph template) [{title,company,location?,date}]" },
|
|
130
130
|
{ flag: "--additional-info <json>", api: "additionalInfo", type: "json", desc: '{"languages"?:[...],"references"?}' },
|
|
131
131
|
{ flag: "--target-company <name>", api: "targetCompany", type: "str", desc: "Included in the saved resume's name" },
|
|
132
|
-
{ flag: "--template <id>", api: "template", type: "str", desc: "Template id: jake (default) or
|
|
132
|
+
{ flag: "--template <id>", api: "template", type: "str", desc: "Template id: jake (default) or joseph" }
|
|
133
133
|
]
|
|
134
134
|
},
|
|
135
135
|
// coverletters
|
|
@@ -382,9 +382,60 @@ function toIso(d) {
|
|
|
382
382
|
return `${d.getFullYear()}-${String(d.getMonth() + 1).padStart(2, "0")}-${String(d.getDate()).padStart(2, "0")}`;
|
|
383
383
|
}
|
|
384
384
|
|
|
385
|
+
// package.json
|
|
386
|
+
var package_default = {
|
|
387
|
+
name: "jobkompass-cli",
|
|
388
|
+
version: "0.1.3",
|
|
389
|
+
description: "Agent-first CLI for JobKompass \u2014 run your job search from the terminal, or let an AI agent run it for you.",
|
|
390
|
+
license: "MIT",
|
|
391
|
+
type: "module",
|
|
392
|
+
bin: {
|
|
393
|
+
jk: "dist/index.js"
|
|
394
|
+
},
|
|
395
|
+
files: [
|
|
396
|
+
"dist",
|
|
397
|
+
"README.md"
|
|
398
|
+
],
|
|
399
|
+
engines: {
|
|
400
|
+
node: ">=18"
|
|
401
|
+
},
|
|
402
|
+
keywords: [
|
|
403
|
+
"jobkompass",
|
|
404
|
+
"cli",
|
|
405
|
+
"job-search",
|
|
406
|
+
"resume",
|
|
407
|
+
"ai-agent",
|
|
408
|
+
"claude-code"
|
|
409
|
+
],
|
|
410
|
+
repository: {
|
|
411
|
+
type: "git",
|
|
412
|
+
url: "git+https://github.com/itwela/jobkompass-v3.git",
|
|
413
|
+
directory: "cli"
|
|
414
|
+
},
|
|
415
|
+
homepage: "https://www.myjobkompass.com",
|
|
416
|
+
publishConfig: {
|
|
417
|
+
access: "public"
|
|
418
|
+
},
|
|
419
|
+
scripts: {
|
|
420
|
+
build: "tsup",
|
|
421
|
+
test: "vitest run",
|
|
422
|
+
smoke: "bash smoke.sh",
|
|
423
|
+
prepublishOnly: "npm run build && npm test"
|
|
424
|
+
},
|
|
425
|
+
dependencies: {
|
|
426
|
+
commander: "^12.1.0"
|
|
427
|
+
},
|
|
428
|
+
devDependencies: {
|
|
429
|
+
"@types/node": "^20.14.0",
|
|
430
|
+
tsup: "^8.1.0",
|
|
431
|
+
typescript: "^5.5.0",
|
|
432
|
+
vitest: "^2.0.0"
|
|
433
|
+
}
|
|
434
|
+
};
|
|
435
|
+
|
|
385
436
|
// src/index.ts
|
|
386
437
|
var program = new Command();
|
|
387
|
-
program.name("jk").description("Agent-first CLI for JobKompass. All output is JSON when piped; add --json to force it.").option("--json", "Force JSON output").version(
|
|
438
|
+
program.name("jk").description("Agent-first CLI for JobKompass. All output is JSON when piped; add --json to force it.").option("--json", "Force JSON output").version(package_default.version);
|
|
388
439
|
function coerceOpt(spec, raw) {
|
|
389
440
|
if (raw === void 0) return void 0;
|
|
390
441
|
switch (spec.type) {
|
package/package.json
CHANGED