fix: create command now properly supports multi-source configs
Fixes 3 critical bugs to enable unified create command for all config types: 1. Fixed _route_config() passing unsupported args to unified_scraper - Only pass --dry-run (the only supported behavioral flag) - Removed --name, --output, etc. (read from config file) 2. Fixed "source" not recognized as positional argument - Added "source" to positional args list in main.py - Enables: skill-seekers create <source> 3. Fixed "config" incorrectly treated as positional - Removed from positional args list (it's a --config flag) - Fixes backward compatibility with unified command Added: configs/godot_unified.json - Multi-source config example (docs + source code) - Demonstrates documentation + codebase analysis Result: ✅ skill-seekers create configs/godot_unified.json (works!) ✅ skill-seekers unified --config configs/godot_unified.json (still works!) ✅ 118 passed, 0 failures ✅ True single entry point achieved Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -139,13 +139,13 @@ def _reconstruct_argv(command: str, args: argparse.Namespace) -> list[str]:
|
||||
|
||||
# Handle positional arguments (no -- prefix)
|
||||
if key in [
|
||||
"source", # create command
|
||||
"url",
|
||||
"directory",
|
||||
"file",
|
||||
"job_id",
|
||||
"skill_directory",
|
||||
"zip_file",
|
||||
"config",
|
||||
"input_file",
|
||||
]:
|
||||
if value is not None and value != "":
|
||||
|
||||
Reference in New Issue
Block a user