A simple command-line interface tool written in Rust to interact with the Buffer GraphQL API.
- Authentication: Prompts the user securely for their Buffer API Key.
- Organization Selection: Retrieves all organizations associated with the user's account. If multiple organizations are found, it allows the user to interactively select which one to query.
- Channel Listing: Fetches and displays all social media channels (e.g., Twitter, LinkedIn, Facebook) linked to the selected organization, providing their service names and IDs.
- Rust: Core programming language.
- Tokio: Asynchronous runtime for Rust.
- Reqwest: Ergonomic, batteries-included HTTP Client.
- Serde JSON: Strongly typed JSON framework.
- Run the project. This can be done in two ways.
- When prompted, enter your Buffer API string/token.
- Follow the on-screen instructions to select an organization and view its connected channels.
git clone https://github.com/formatocd/buffer_cli.gitTo build an optimized release version of the application, run the following command:
cargo build --releaseThe compiled binary will be available in the target/release/ directory.
You can also download the pre-compiled binaries from the Releases section of this repository.