strawpoll-cli
bởi dedene
CLI UtilitiesTóm tắt
Create and manage StrawPoll polls, meeting polls, and ranking polls from the terminal using the strawpoll CLI.
Mô tả
Kỹ năng này làm gì
Command-line interface for the StrawPoll API v3. Supports creating and managing multiple-choice polls, meeting availability polls, and ranked-choice polls. Output can be plain text, JSON, or tab-separated for scripting.
Eliminates the need to open a browser for routine polling tasks and makes StrawPoll scriptable in shell pipelines.
Khi nào nên dùng
- Creating a team vote on project priorities without leaving the terminal
- Scheduling a meeting by collecting availability across multiple dates
- Running a ranked-choice vote to decide sprint focus areas
- Automating poll creation in CI scripts with JSON output
- Checking live poll results and sharing the URL with teammates
Quy trình ví dụ
User asks: create a poll asking the team to pick a release day, then check results
- 1
Run
strawpoll poll create "Release day?" Monday Tuesday Wednesday Thursday Friday --copyto create the poll and copy its URL - 2
Capture the poll ID from the JSON output or note it from the printed URL
- 3
Share the URL with teammates for voting
- 4
Run
strawpoll poll results <poll-id>to view vote counts in a formatted table - 5
Run with
--jsonflag and pipe to jq if results need to be processed programmatically
A StrawPoll URL ready to share, plus a results table showing vote counts per option
Yêu cầu
- STRAWPOLL_API_KEY environment variable or stored via `strawpoll auth set-key`
- StrawPoll account (free) at strawpoll.com to obtain an API key
Cài đặt
clawhub install dedene/strawpoll-cliChạy lệnh CLI, hoặc dán prompt vào Claude Code, Cursor, Codex hay coding agent bạn đang dùng.