Skip to main content

content generate

Usage

seo-ops content generate <keyword> [--words=<count>] [--tone=<style>] [--type=guide|listicle|review|faq] [--status=draft|publish] [--publish] [--provider=<name>] [--pipeline-id=<id>] [--category=<slug>] [--tags=<tags>] [--mock] [--path=<path>] [--output=<file>]

Generate SEO-optimized content using AI providers. Supports mock mode for testing.

Options

OptionDefaultDescription
--words1500Target word count
--toneprofessionalWriting tone
--typeguideContent type
--statusdraftWordPress post status
--publishfalsePublish directly to WordPress
--providermockAI provider (openai, anthropic, local, custom, mock)
--pipeline-idPipeline CSV keyword ID to update status on generation
--categoryCategory slug for WordPress post (when publishing)
--tagsComma-separated tags for WordPress post (when publishing)
--mockUse mock generation (no AI provider required)
--outputstdoutWrite to file instead of stdout

Content Types

TypeDescription
guideComprehensive guide format
listicleTop-N list format
reviewProduct/service review
faqFAQ format

Examples

Generate With Defaults (Mock Mode)

seo-ops content generate "best accounting software"

Output (mock mode):

[MOCK] Generating content for: best accounting software
Type: guide | Words: 1500 | Tone: professional

# Best Accounting Software: A Complete Guide

## Introduction

Choosing the right accounting software is one of the most important
decisions a business can make. With so many options available, finding
the best fit requires understanding your specific needs...

[MOCK CONTENT - 1500 words generated]

Specify Word Count and Tone

seo-ops content generate "seo guide" --words=2000 --tone=professional

Output:

Content generated: 2,004 words (professional tone)

Listicle Type

seo-ops content generate "top 10 seo tools" --type=listicle

Output:

[MOCK] Generating content for: top 10 seo tools
Type: listicle | Words: 1500 | Tone: professional

# Top 10 SEO Tools You Need in 2025

1. Ahrefs
2. SEMrush
3. Moz Pro
4. Screaming Frog
...

[MOCK CONTENT - 1500 words generated]

Save to File

seo-ops content generate "content marketing" --output=article.md

Output:

Content saved to: article.md (1,500 words)

Publish Directly to WordPress

seo-ops content generate "cloud accounting benefits" --publish --category=accounting --tags=cloud,software

Output:

Content generated and published: https://example.com/cloud-accounting-benefits
Post ID: 456
Status: publish