Hi - I answer from the OpenSmartRoute documentation: routing, the API, plans and quotas, self-hosting. Ask away, or open a support ticket if you need a person.
Grounded in the docs - follow a source before acting on it.
Prompt file imported from mrwogu/promptscript (.github/prompts/cli.prompt.md). Copyright stays with the author.
Create CLI command handler:
Use commander.js patterns from existing commands
Add proper option parsing
Include help text and examples
Handle errors gracefully with actionable messages
Add to packages/cli/src/commands/
Use it
Copy one of these into your project. Installing also returns the manifest and these snippets.
Create CLI command handler:
- Use commander.js patterns from existing commands
- Add proper option parsing
- Include help text and examples
- Handle errors gracefully with actionable messages
- Add to packages/cli/src/commands/
Manifest
The prompt text and its fill-in variables. Copy it or fetch it by URL from your own code.
mrwogu-promptscript-cli-prompt.prompt.jsonjson
{
"prompt": "Create CLI command handler:\n\n- Use commander.js patterns from existing commands\n- Add proper option parsing\n- Include help text and examples\n- Handle errors gracefully with actionable messages\n- Add to packages/cli/src/commands/",
"variables": [],
"notes": "Create CLI command handler",
"metadata": {
"source": {
"provider": "github-prompts",
"repository": "https://github.com/mrwogu/promptscript",
"path": ".github/prompts/cli.prompt.md",
"ref": "7ae2ad7db8b5fcdbed58cb749f39dd2b58f75cb0",
"url": "https://github.com/mrwogu/promptscript/blob/7ae2ad7db8b5fcdbed58cb749f39dd2b58f75cb0/.github/prompts/cli.prompt.md",
"key": "mrwogu/promptscript/.github/prompts/cli.prompt.md"
}
}
}
Fetch it by URL: GET /api/v1/registry/mrwogu-promptscript-cli-prompt/manifest?version=1.0.0
Reviews
Star ratings from people who tried it. One review per account; edit yours any time.
No reviews yet. Install it, try it, and be the first to rate it.