outrank-cli 0.3.0 → 0.5.0

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/src/index.js CHANGED
@@ -12,6 +12,8 @@ import { handleSubscriptionCommand } from './commands/subscription.js';
12
12
  import { handleUsageCommand } from './commands/usage.js';
13
13
  import { handleKeywordsCommand } from './commands/keywords.js';
14
14
  import { handleArticlesCommand } from './commands/articles.js';
15
+ import { handleImprovementsCommand } from './commands/improvements.js';
16
+ import { handleMarketplaceCommand } from './commands/marketplace.js';
15
17
 
16
18
  const getVersion = () => {
17
19
  try {
@@ -35,6 +37,8 @@ Groups:
35
37
  products List, create, inspect, and configure products, integrations, article settings, Google Search Console, linking, and backlinks.
36
38
  keywords Inspect, check write status, add, reschedule, delete, suggest, generate, and export keyword plans.
37
39
  articles Inspect article metadata and bodies, edit content, retry publish, precreate, and generate.
40
+ improvements Discover, brief, schedule, run, review, and publish article improvements for existing posts.
41
+ marketplace Seller onboarding, eligibility, placements, earnings, Stripe payouts, and buyer setup for the Outrank Marketplace.
38
42
  subscription Inspect plan, trial, quota, and add-on status.
39
43
  usage Inspect current usage and quota consumption.
40
44
  billing Product-slot purchase flows.
@@ -55,6 +59,8 @@ Examples:
55
59
  outrank-cli products list --limit 20
56
60
  outrank-cli keywords list --product 00000000-0000-0000-0000-000000000000 --scope all
57
61
  outrank-cli articles list --product 00000000-0000-0000-0000-000000000000 --status published
62
+ outrank-cli improvements candidates list 00000000-0000-0000-0000-000000000000 --type ctr_gap
63
+ outrank-cli improvements tasks execute 00000000-0000-0000-0000-000000000000
58
64
  outrank-cli subscription status
59
65
  outrank-cli usage stats
60
66
  outrank-cli products create --json-file product.json
@@ -68,6 +74,9 @@ Examples:
68
74
  outrank-cli products backlinks get <product-id>
69
75
  outrank-cli products backlinks earned <product-id> --limit 20 --include-article
70
76
  outrank-cli billing purchase-products quote --additional-products 2
77
+ outrank-cli marketplace seller status <product-id>
78
+ outrank-cli marketplace seller onboard <product-id> --country US
79
+ outrank-cli marketplace seller placements list <product-id> --status needs_approval
71
80
  `;
72
81
 
73
82
  const main = async () => {
@@ -111,6 +120,10 @@ const main = async () => {
111
120
  result = await handleKeywordsCommand(rest);
112
121
  } else if (group === 'articles') {
113
122
  result = await handleArticlesCommand(rest);
123
+ } else if (group === 'improvements') {
124
+ result = await handleImprovementsCommand(rest);
125
+ } else if (group === 'marketplace') {
126
+ result = await handleMarketplaceCommand(rest);
114
127
  } else if (group === 'subscription') {
115
128
  result = await handleSubscriptionCommand(rest);
116
129
  } else if (group === 'usage') {