프로젝트
GitHub에서 보기
sferik/x-cli
소개
Twitter를 위한 강력한 명령줄 도구입니다.
개발 도구What you can do
- Full command tree with aliases and options
- X API client library (x-api) for HTTP, auth, and retry primitives
- OAuth 1.0a and OAuth 2.0 authentication
- Automatic retry with backoff for transient API errors
측정된 스타 증가
- in 24h
- -1
- in 7 days
- -1
- in 15 days
- 0
- in 1 month
- +5
서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.
README.md
Originalx
A command-line interface for the X API.
Features
- Full command tree with aliases and options
- X API client library (x-api) for HTTP, auth, and retry primitives
- OAuth 1.0a and OAuth 2.0 authentication
- Automatic retry with backoff for transient API errors
- V1.1 and V2 API support with automatic fallback
- Streaming support for filtered and sampled streams
- Column-aligned output formatting
- YAML configuration file support
- Bash completion support
Status
- Command families:
cli,delete,list,search,set,stream - Local account/profile commands:
accounts,set active,delete account,version,ruler - Stream commands use persistent HTTP streaming:
stream allandstream matrixuse OAuth2 sample streamstream search,stream users,stream list, andstream timelineuse v2 filtered stream rules + stream
X_STREAM_MAX_EVENTScan be set to limit emitted events (useful for tests/automation)- Default profile config is
~/.xrc. If~/.xrcis missing,~/.trcis used as a read fallback and migrated on write.
Development
cargo test
cargo run -- version
cargo run -- accounts --profile /path/to/.xrc
Releasing
Tagging a new v* release triggers GitHub Actions to build and publish binaries for:
- Linux (
x86_64-unknown-linux-gnu) - Linux ARM64 (
aarch64-unknown-linux-gnu) - macOS Intel (
x86_64-apple-darwin) - macOS Apple Silicon (
aarch64-apple-darwin) - Windows (
x86_64-pc-windows-msvc) - Windows ARM64 (
aarch64-pc-windows-msvc)
Install cargo-release:
cargo install cargo-release --locked
Then tag and push the current Cargo.toml version:
cargo release-tag
Tag messages come from Cargo.toml release metadata (tag-message).
관련 프로젝트 살펴보기
불러오는 중…