Features: - Post tweets and replies via Twitter GraphQL API - Cookie extraction from Chrome (macOS) - Env var and CLI argument authentication - 19 passing tests with vitest - Biome for linting
7 lines
225 B
Bash
Executable File
7 lines
225 B
Bash
Executable File
#!/usr/bin/env bash
|
|
# twitter-cli - CLI tool for posting tweets and replies
|
|
# Requires Node.js 20+ and pnpm
|
|
|
|
SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
|
|
cd "$SCRIPT_DIR" && exec pnpm exec tsx src/index.ts "$@"
|