@praha/byethrow-docs
v0.9.0
Published
Documentation for @praha/byethrow
Readme
@praha/byethrow-docs 👋
Documentation package for @praha/byethrow.
📖 About
This package contains comprehensive markdown documentation for the @praha/byethrow package.
The documentation is also available online at Website.
🚀 Installation
npm install @praha/byethrow-docs📚 Usage
CLI
This package includes a CLI tool for searching and listing documentation.
init command
Initialize AI agent configuration for byethrow documentation.
# Initialize Claude AI configuration
npx @praha/byethrow-docs init claude
# Initialize GitHub Copilot configuration
npx @praha/byethrow-docs init copilot
# Initialize Cursor AI configuration
npx @praha/byethrow-docs init cursorArguments:
agent: AI agent to configure (claude, copilot, or cursor) (required)
Description:
This command creates an agent-specific configuration file that enables the AI to reference byethrow documentation automatically. The configuration file will be created in the appropriate directory:
- Claude:
.claude/skills/byethrow/SKILL.md - GitHub Copilot:
.github/skills/byethrow/SKILL.md - Cursor:
.cursor/rules/byethrow/RULE.md
list command
List all available documentation organized by sections.
# List all documentation
npx @praha/byethrow-docs list
# List documentation with filter query
npx @praha/byethrow-docs list --query "your query"Options:
--query <string>: Filter documentation by keywords (optional)
search command
Search documentation and get matching results with highlighted snippets.
# Search documentation
npx @praha/byethrow-docs search "your query"
# Limit number of results (default: 5)
npx @praha/byethrow-docs search "your query" --limit 10Arguments:
query: Search query string (required)
Options:
--limit <number>: Maximum number of results to return (default: 5)
toc command
Display table of contents from a documentation file.
# Display table of contents from a markdown file
npx @praha/byethrow-docs toc path/to/document.mdArguments:
path: Path to the documentation file (required)
🤝 Contributing
Contributions, issues and feature requests are welcome.
Feel free to check issues page if you want to contribute.
📝 License
Copyright © PrAha, Inc.
This project is MIT licensed.
