···11# tg
2233-`tg` is a command-line client for [Tangled](https://tangled.org), the git forge built on atproto. It is an analogue to the GitHub CLI (`gh`), (for now) built against the read-only [Bobbin](https://docs.tangled.org/bobbin) XRPC API.
33+`tg` is a command-line client for [Tangled](https://tangled.org), the git forge built on atproto. It is an analogue to the GitHub CLI (`gh`), using Bobbin for reads and authenticated PDS/knot writes.
4455## Installation
66···50505151# List issues for an explicit repository
5252tg issue list microcosm.blue/microcosm-rs
5353+5454+# Create, comment on, and update an issue
5555+tg issue create --repo microcosm.blue/microcosm-rs --body "Details" "Bug report"
5656+tg issue comment <rkey> --body "I can reproduce this"
5757+tg issue close <rkey>
5858+tg issue reopen <rkey>
5959+tg issue edit <rkey> --title "Updated title"
5360```
54615562### Pull Requests
···5865# List pull requests
5966tg pr list
60676161-# Check out a pull request as detached HEAD
6262-tg pr checkout 3mporttfqez22
6868+# Create, comment on, inspect, and update pull requests
6969+tg pr create --title "Add feature" --base main
7070+tg pr diff <rkey>
7171+tg pr comment <rkey> --body "Looks good"
7272+tg pr close <rkey>
7373+tg pr merge <rkey>
6374```
7575+7676+### Other commands
7777+7878+`tg repo edit`, `tg repo set-default-branch`, `tg repo delete --yes`, `tg repo fork`,
7979+`tg ssh-key delete`, `tg browse`, `tg completion`, `tg auth token`, and `tg api` are available.
8080+8181+Changing scopes requires existing users to run `tg auth login` again.
8282+8383+## Platform limits
8484+8585+Tangled currently has no API for releases, gists, workflows/runs, repository archive/sync/rename,
8686+PR checks, projects, codespaces, a status dashboard, or global text search. `tg pr checkout` is
8787+deferred until PRs expose an immutable base commit/ref, allowing a safe isolated-worktree
8888+implementation. `auth switch` is deferred because the local auth store currently supports one
8989+account.
64906591## Architecture
6692