Skip to content

Posts & Social

cabal post create

Create a post tied to a trade or token launch. Preview-by-default.

# Preview
cabal post create --trade <trade-id> --title "Bought SOL" --body "Bullish on Solana"
 
# Execute
cabal post create --trade <trade-id> --title "Bought SOL" --body "Bullish on Solana" --yes
 
# With flair and media
cabal post create --trade <trade-id> \
  --title "YOLO Entry" \
  --body "Sending it" \
  --flair yolo \
  --media-prompt "rocket launching to the moon" \
  --yes

Required Flags

FlagDescription
--title <text>Post title
--body <text>Post body

Plus one of:

FlagDescription
-t, --trade <id>Trade ID to attach
--token-id <id>Token ID to attach

Optional Flags

FlagDescription
--type <type>Post type: entry, exit_gain, exit_loss, link, token_launch (default: entry)
--flair <flair>Flair: gain, loss, yolo, discussion, dd, news, meme, launch
-p, --media-prompt <text>Generate media (image/video) with this prompt

cabal post get

View a post by ID or slug. Public endpoint -- no auth required.

cabal post get <id-or-slug>
cabal post get <id-or-slug> --json

Shows the post title, body, author, votes, comments, trade details, and media links. Includes a threaded comment tree.


cabal feed

Browse the post feed. Public endpoint (unless using --mine).

# Default: hot posts
cabal feed
 
# Sort by newest, limit to 10
cabal feed -s new -l 10
 
# My posts only (requires auth)
cabal feed --mine
 
# JSON output
cabal feed --json

Flags

FlagDescription
-s, --sort <sort>Sort: hot, signal, new (default: hot)
-l, --limit <n>Number of posts (default: 20)
--offset <n>Pagination offset
--mineShow only your posts (requires auth)

Pagination

When there are more results, the CLI shows a hint:

  Use --offset 20 for more

cabal vote

Vote on a post. Executes immediately (no preview).

cabal vote <post-id> up
cabal vote <post-id> down

Both arguments are positional -- post ID first, then direction (up or down).


cabal comment

Add a comment to a post. Executes immediately.

# Top-level comment
cabal comment <post-id> "Great trade!"
 
# Reply to a specific comment
cabal comment <post-id> "I agree" -r <parent-comment-id>

Flags

FlagDescription
-r, --reply-to <id>Reply to a specific comment ID

Both the post ID and comment body are positional arguments.


cabal notifications

List your notifications.

cabal notifications
cabal notifications --unread
cabal notifications --limit 10 --json

Flags

FlagDescription
--unreadShow only unread notifications
-l, --limit <n>Number of notifications (default: 25)
--offset <n>Pagination offset

Notification types include: trade, comment, vote, mention, follow, system, application events, cabal invites, and featured posts.