1# Tangled CLI (Rust)
2
3A Rust CLI for Tangled, a decentralized git collaboration platform built on the AT Protocol.
4
5Status: project scaffold with CLI, config, API and git crates. Commands are stubs pending endpoint wiring.
6
7## Workspace
8
9- `crates/tangled-cli`: CLI binary (clap-based)
10- `crates/tangled-config`: Config + session management
11- `crates/tangled-api`: XRPC client wrapper (stubs)
12- `crates/tangled-git`: Git helpers (stubs)
13- `lexicons/sh.tangled`: Placeholder lexicons
14
15## Quick start
16
17```sh
18cargo run -p tangled-cli -- --help
19```
20
21### Install from AUR (community maintained)
22
23```sh
24yay -S tangled-cli-git
25```
26
27Building requires network to fetch crates.
28
29## Next steps
30
31- Implement `com.atproto.server.createSession` for auth
32- Wire repo list/create endpoints under `sh.tangled.*`
33- Persist sessions via keyring and load in CLI
34- Add output formatting (table/json)
35