xsh / command reference

Documentation

Search, filter, and explore every command available in xsh. Each entry includes its usage, options, source file, and practical examples for terminal workflows.

Commands indexed

119

Catalog snapshot

6b4d1f2

Command groups

8

xsh / global options

Global flags

These options are available across the command catalog and can be combined with command-specific flags.

--account

Use a specific stored account

—
--json

Output as JSON

—
--yaml

Output as YAML

—
--compact

Compact output for AI agents

-c
--verbose

Show HTTP requests

-v
--watch

Refresh output every N seconds

-w
xsh / complete inventory

All commands

Select a command to see its options and copy ready-to-run examples.

119 commands / 119 indexed

xsh / first session

Getting started

Install xsh, authenticate once, then use the same commands interactively or in scripts.

01

Authenticate

Extract browser cookies and save a local xsh account.

xsh auth login

02

Read your timeline

Fetch the home timeline directly from your terminal.

xsh feed

03

Post a tweet

Publish a tweet after authenticating your account.

xsh tweet post "Hello from xsh!"

04

Pipe structured output

Use JSON output in scripts, pipes, and automation.

xsh feed --json

Catalog source: core/cmd/*.go, core/README.md, and xsh --help · core master @ 6b4d1f2