A command-line interface for Bragnet, inspired by gh (GitHub CLI).
- Authentication: Browser-session login (stores session cookies)
- Posts: Create and list posts
- Network: Follow and connect
- Profile: View profiles (including your own)
- Search: Search people and jobs
- Messaging: Read and send messages
go install github.com/janitrai/licli/cmd/bragcli@latestSet the target domain via environment variable:
export BRAGNET_DOMAIN="www.example.com"# Login
bragcli auth login
bragcli auth status
# Post
bragcli post create "Hello world!"
bragcli post list
# Network
bragcli follow @username
bragcli connect @username --note "Hey, let's connect!"
# Profile
bragcli profile view @username
bragcli profile me
# Search
bragcli search people "software engineer berlin"
bragcli search jobs "golang developer"
# Messaging
bragcli message list
bragcli message read @username
bragcli message send @username "Hey there!"By default, config is stored at $XDG_CONFIG_HOME/li/config.json (Linux typically ~/.config/li/config.json).
Override with:
export LI_CONFIG_PATH=/path/to/config.jsongit clone https://github.com/janitrai/licli
cd licli
go build ./cmd/bragcliMIT