refactor: Update CLI commands to use new unified entry points
Updated all command examples in CLI scripts from old pattern: python3 cli/<script>.py → skill-seekers <command> Changes: - doc_scraper.py → skill-seekers scrape - github_scraper.py → skill-seekers github - pdf_scraper.py → skill-seekers pdf - unified_scraper.py → skill-seekers unified - enhance_skill.py → skill-seekers enhance - enhance_skill_local.py → skill-seekers enhance - package_skill.py → skill-seekers package - estimate_pages.py → skill-seekers estimate This reflects the new modern Python packaging with proper entry points. Users can now use clean commands instead of file paths. Files updated: 10 CLI scripts 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -9,9 +9,9 @@ Converts GitHub repositories into Claude AI skills by extracting:
|
||||
- Usage examples from tests
|
||||
|
||||
Usage:
|
||||
python3 cli/github_scraper.py --repo facebook/react
|
||||
python3 cli/github_scraper.py --config configs/react_github.json
|
||||
python3 cli/github_scraper.py --repo owner/repo --token $GITHUB_TOKEN
|
||||
skill-seekers github --repo facebook/react
|
||||
skill-seekers github --config configs/react_github.json
|
||||
skill-seekers github --repo owner/repo --token $GITHUB_TOKEN
|
||||
"""
|
||||
|
||||
import os
|
||||
@@ -735,9 +735,9 @@ def main():
|
||||
formatter_class=argparse.RawDescriptionHelpFormatter,
|
||||
epilog="""
|
||||
Examples:
|
||||
python3 cli/github_scraper.py --repo facebook/react
|
||||
python3 cli/github_scraper.py --config configs/react_github.json
|
||||
python3 cli/github_scraper.py --repo owner/repo --token $GITHUB_TOKEN
|
||||
skill-seekers github --repo facebook/react
|
||||
skill-seekers github --config configs/react_github.json
|
||||
skill-seekers github --repo owner/repo --token $GITHUB_TOKEN
|
||||
"""
|
||||
)
|
||||
|
||||
@@ -786,7 +786,7 @@ Examples:
|
||||
converter.build_skill()
|
||||
|
||||
logger.info(f"\n✅ Success! Skill created at: output/{config.get('name', config['repo'].split('/')[-1])}/")
|
||||
logger.info(f"Next step: python3 cli/package_skill.py output/{config.get('name', config['repo'].split('/')[-1])}/")
|
||||
logger.info(f"Next step: skill-seekers-package output/{config.get('name', config['repo'].split('/')[-1])}/")
|
||||
|
||||
except Exception as e:
|
||||
logger.error(f"Error: {e}")
|
||||
|
||||
Reference in New Issue
Block a user