strawpoll-cli
由 dedene 提供
CLI Utilities简介
Create and manage StrawPoll polls, meeting polls, and ranking polls from the terminal using the strawpoll CLI.
描述
该技能的功能
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.
何时使用
- 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
示例工作流
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
前置要求
- STRAWPOLL_API_KEY environment variable or stored via `strawpoll auth set-key`
- StrawPoll account (free) at strawpoll.com to obtain an API key
安装
clawhub install dedene/strawpoll-cli运行 CLI 命令,或把这段提示词粘贴到 Claude Code、Cursor、Codex 或你在用的任意编程智能体里。