ws. Commands: Python ·
TypeScript.
- Python
- TypeScript
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Set up the GitHub CLI with Python or TypeScript.
ws. Commands: Python ·
TypeScript.
from mirage.commands.cli.builtin.gh import GH
from mirage.core.github.config import GhConfig
config = GhConfig(token="github_pat_...", repo="acme/tools")
ws.register_cli("gh", GH, config.model_dump())
import { GH } from '@struktoai/mirage-core'
ws.registerCli('gh', GH, { token: 'github_pat_...', repo: 'acme/tools' })