Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions src/commands/robots.ts
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ robotsCommand
.command('scrape <url>')
.description('Create a scrape robot for a URL')
.option('-n, --name <name>', 'Robot name')
.option('-f, --format <fmt>', 'Formats: markdown, html, text, links, screenshot-visible, screenshot-fullpage (comma-separated)', 'markdown')
.option('-f, --format <fmt>', 'Formats: markdown, html, text, links, summary, screenshot-visible, screenshot-fullpage (comma-separated)', 'markdown')
.option('-p, --prompt <text>', 'Smart Queries: LLM prompt to analyze the page after scraping (+2 credits per run)')
.action(async (url, options) => {
const formats = options.format.split(',').map((f: string) => f.trim());
Expand Down Expand Up @@ -101,7 +101,7 @@ robotsCommand
.command('crawl <url>')
.description('Create a crawl robot for a URL')
.option('-n, --name <name>', 'Robot name')
.option('-f, --format <fmt>', 'Formats: markdown, html, text, links, screenshot-visible, screenshot-fullpage (comma-separated)', 'markdown')
.option('-f, --format <fmt>', 'Formats: markdown, html, text, links, summary, screenshot-visible, screenshot-fullpage (comma-separated)', 'markdown')
.option('--limit <n>', 'Max pages to crawl', parseInt, 10)
.option('--max-depth <n>', 'Max depth to crawl', parseInt, 3)
.option('--include <paths>', 'Include path patterns (comma-separated)')
Expand Down Expand Up @@ -140,7 +140,7 @@ robotsCommand
.command('search <query>')
.description('Create a search robot for a query')
.option('-n, --name <name>', 'Robot name')
.option('-f, --format <fmt>', 'Formats: markdown, html, text, links, screenshot-visible, screenshot-fullpage (comma-separated)')
.option('-f, --format <fmt>', 'Formats: markdown, html, text, links, summary, screenshot-visible, screenshot-fullpage (comma-separated)')
.option('--limit <n>', 'Max search results', parseInt, 10)
.option('--mode <mode>', 'Search mode: discover, scrape', 'discover')
.action(async (query, options) => {
Expand Down
2 changes: 1 addition & 1 deletion src/commands/run.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import { spinner, statusBadge, printDataTable, printJSON, success } from '../lib
export const runCommand = new Command('run')
.description('Run a Maxun robot by its ID')
.argument('<id>', 'Robot ID to execute')
.option('-f, --format <fmt>', 'Formats: markdown, html, text, links, screenshot-visible, screenshot-fullpage (comma-separated)')
.option('-f, --format <fmt>', 'Formats: markdown, html, text, links, summary, screenshot-visible, screenshot-fullpage (comma-separated)')
.option('-t, --table', 'Output results in table format')
.action(async (id, options) => {
const spin = spinner(`Running robot ${chalk.cyan(id)}...`);
Expand Down