salesprompter-cli 0.1.5 → 0.1.6

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/README.md CHANGED
@@ -61,6 +61,7 @@ salesprompter leads:score --icp ./data/deel-icp.json --in ./data/deel-enriched.j
61
61
  Use the same commands, but prefer machine-readable output:
62
62
 
63
63
  ```bash
64
+ salesprompter --json icp:vendor --vendor deel --market dach
64
65
  salesprompter --json icp:vendor --vendor deel --market dach --out ./data/deel-icp.json
65
66
  salesprompter --json leads:lookup:bq --icp ./data/deel-icp.json --limit 100 --lead-out ./data/deel-leads.json
66
67
  ```
package/dist/cli.js CHANGED
@@ -388,12 +388,14 @@ program
388
388
  .description("Create a vendor-specific ICP template.")
389
389
  .requiredOption("--vendor <vendor>", "Vendor template name, currently: deel")
390
390
  .option("--market <market>", "global|europe|dach", "dach")
391
- .requiredOption("--out <path>", "Output file path")
391
+ .option("--out <path>", "Optional output file path")
392
392
  .action(async (options) => {
393
393
  const vendor = z.enum(["deel"]).parse(options.vendor);
394
394
  const market = z.enum(["global", "europe", "dach"]).parse(options.market);
395
395
  const icp = buildVendorIcp(vendor, market);
396
- await writeJsonFile(options.out, icp);
396
+ if (options.out) {
397
+ await writeJsonFile(options.out, icp);
398
+ }
397
399
  printOutput({ status: "ok", icp });
398
400
  });
399
401
  program
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "salesprompter-cli",
3
- "version": "0.1.5",
3
+ "version": "0.1.6",
4
4
  "description": "JSON-first sales prospecting CLI for ICP definition, lead generation, enrichment, scoring, and CRM/outreach sync.",
5
5
  "type": "module",
6
6
  "bin": {