fix: replace unicode arrows in CLI help text for Windows cp1252 compatibility

Replace → (U+2192) with -> in argparse help strings. Windows cmd uses
cp1252 encoding which cannot render unicode arrows, causing --help to
crash with UnicodeEncodeError.
This commit is contained in:
yusyus
2026-03-19 00:10:50 +03:00
parent 26c2d0bd5c
commit 37a23e6c6d
4 changed files with 14 additions and 14 deletions

View File

@@ -26,7 +26,7 @@ ENHANCE_ARGUMENTS: dict[str, dict[str, Any]] = {
"help": (
"AI platform for enhancement (uses API mode). "
"Auto-detected from env vars if not specified: "
"ANTHROPIC_API_KEYclaude, GOOGLE_API_KEYgemini, OPENAI_API_KEYopenai. "
"ANTHROPIC_API_KEY->claude, GOOGLE_API_KEY->gemini, OPENAI_API_KEY->openai. "
"Falls back to LOCAL mode (Claude Code CLI) when no API keys are found."
),
"metavar": "PLATFORM",

View File

@@ -626,17 +626,17 @@ Examples:
Config: skill-seekers create configs/react.json
Source Auto-Detection:
URLs/domains web scraping
owner/repo GitHub analysis
./path local codebase
file.pdf PDF extraction
file.docx Word document extraction
file.epub EPUB extraction
youtube.com/... Video transcript extraction
file.mp4 Video file extraction
file.json multi-source config
URLs/domains -> web scraping
owner/repo -> GitHub analysis
./path -> local codebase
file.pdf -> PDF extraction
file.docx -> Word document extraction
file.epub -> EPUB extraction
youtube.com/... -> Video transcript extraction
file.mp4 -> Video file extraction
file.json -> multi-source config
Progressive Help (13 120+ flags):
Progressive Help (13 -> 120+ flags):
--help-web Web scraping options
--help-github GitHub repository options
--help-local Local codebase analysis

View File

@@ -35,8 +35,8 @@ Quick Examples:
skill-seekers create ./my-project -p comprehensive
Source Types (auto-detected):
URLs web docs | owner/repo GitHub | ./path local code
file.pdf PDF | file.json config (multi-source)
URLs -> web docs | owner/repo -> GitHub | ./path -> local code
file.pdf -> PDF | file.json -> config (multi-source)
Progressive Help (NEW -p shortcut):
Default help shows 13 flags. For more: --help-web, --help-github,

View File

@@ -12,7 +12,7 @@ class InstallParser(SubcommandParser):
@property
def help(self) -> str:
return "Complete workflow: fetch scrape enhance package upload"
return "Complete workflow: fetch -> scrape -> enhance -> package -> upload"
@property
def description(self) -> str: