feat(cli): Phase 4 - Standardize preset names across all commands
Problem: - Inconsistent preset names across commands caused confusion: - analyze: quick, standard, **comprehensive** - scrape: quick, standard, **deep** - github: quick, standard, **full** - Users had to remember different names for the same concept Solution: Standardized all preset systems to use consistent naming: - quick, standard, comprehensive (everywhere) Changes: - scrape_presets.py: Renamed "deep" → "comprehensive" - github_presets.py: Renamed "full" → "comprehensive" - Updated docstrings to reflect new names - All preset dictionaries now use identical keys Result: ✅ Consistent preset names across all commands ✅ Users only need to remember 3 preset names ✅ Help text already shows "comprehensive" everywhere ✅ All 46 tests passing ✅ Better UX and less confusion Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -5,7 +5,7 @@ Defines preset configurations for the github command.
|
||||
Presets:
|
||||
quick: Fast scraping with minimal data
|
||||
standard: Balanced scraping (DEFAULT)
|
||||
full: Comprehensive scraping with all data
|
||||
comprehensive: Comprehensive scraping with all data
|
||||
"""
|
||||
|
||||
from dataclasses import dataclass, field
|
||||
@@ -57,8 +57,8 @@ GITHUB_PRESETS = {
|
||||
estimated_time="5-15 minutes"
|
||||
),
|
||||
|
||||
"full": GitHubPreset(
|
||||
name="Full",
|
||||
"comprehensive": GitHubPreset(
|
||||
name="Comprehensive",
|
||||
description="Comprehensive scraping with all available data",
|
||||
max_issues=500,
|
||||
features={
|
||||
|
||||
@@ -5,7 +5,7 @@ Defines preset configurations for the scrape command.
|
||||
Presets:
|
||||
quick: Fast scraping with minimal depth
|
||||
standard: Balanced scraping (DEFAULT)
|
||||
deep: Comprehensive scraping with all features
|
||||
comprehensive: Comprehensive scraping with all features
|
||||
"""
|
||||
|
||||
from dataclasses import dataclass, field
|
||||
@@ -63,8 +63,8 @@ SCRAPE_PRESETS = {
|
||||
estimated_time="10-30 minutes"
|
||||
),
|
||||
|
||||
"deep": ScrapePreset(
|
||||
name="Deep",
|
||||
"comprehensive": ScrapePreset(
|
||||
name="Comprehensive",
|
||||
description="Comprehensive scraping with all features",
|
||||
rate_limit=1.0,
|
||||
features={
|
||||
|
||||
Reference in New Issue
Block a user